Skip to content

Commit

Permalink
Sg fix api (#9552)
Browse files Browse the repository at this point in the history
* feat(jans-auth): update SG script to conform API

Signed-off-by: Yuriy Movchan <Yuriy.Movchan@gmail.com>

* feat(jans-auth): update SG script to conform API

Signed-off-by: Yuriy Movchan <Yuriy.Movchan@gmail.com>

* feat(jans-auth): update SG script to conform API

Signed-off-by: Yuriy Movchan <Yuriy.Movchan@gmail.com>

* feat(jans-auth): update SG script to conform API

Signed-off-by: Yuriy Movchan <Yuriy.Movchan@gmail.com>

---------

Signed-off-by: Yuriy Movchan <Yuriy.Movchan@gmail.com>
  • Loading branch information
yurem committed Sep 20, 2024
1 parent 661b380 commit 607a16f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 607a16f

Please sign in to comment.