Skip to content

Commit

Permalink
Merge branch 'jans-config-fix' of https://github.com/JanssenProject/jans
Browse files Browse the repository at this point in the history
 into jans-config-fix
  • Loading branch information
pujavs committed Sep 20, 2024
2 parents 256aff3 + 685195e commit 9147254
Showing 1 changed file with 2 additions and 3 deletions.
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 Expand Up @@ -1147,8 +1147,7 @@ def registerScanClient(self, asBaseUrl, asRedirectUri, asSSA, customScript):

try:
httpService = CdiUtil.bean(HttpService2)
httpClient = httpService.getHttpsClient()
resultResponse = httpService.executePost(httpClient, endpointUrl, None, headers, body, ContentType.APPLICATION_JSON)
resultResponse = httpService.executePost(endpointUrl, None, headers, body, ContentType.APPLICATION_JSON, None)
httpResponse = resultResponse.getHttpResponse()
httpResponseStatusCode = httpResponse.getStatusLine().getStatusCode()
print "Super-Gluu. Scan. Get client registration response status code: %s" % httpResponseStatusCode
Expand Down

0 comments on commit 9147254

Please sign in to comment.