diff --git a/docs/script-catalog/person_authentication/super-gluu-external-authenticator/SuperGluuExternalAuthenticator.py b/docs/script-catalog/person_authentication/super-gluu-external-authenticator/SuperGluuExternalAuthenticator.py index c97486c2d1a..9d1f4db0b01 100644 --- a/docs/script-catalog/person_authentication/super-gluu-external-authenticator/SuperGluuExternalAuthenticator.py +++ b/docs/script-catalog/person_authentication/super-gluu-external-authenticator/SuperGluuExternalAuthenticator.py @@ -1107,7 +1107,7 @@ def getAccessTokenJansServer(self, asBaseUrl, asClientId, asClientSecret): try: httpService = CdiUtil.bean(HttpService2) - resultResponse = httpService.executePost(endpointUrl, None, headers, body, ContentType.APPLICATION_JSON, None) + resultResponse = httpService.executePost(endpointUrl, authData, headers, body, ContentType.APPLICATION_FORM_URLENCODED, None) httpResponse = resultResponse.getHttpResponse() httpResponseStatusCode = httpResponse.getStatusLine().getStatusCode() print "Super-Gluu. Scan. Get token response status code: %s" % httpResponseStatusCode