Skip to content

Commit

Permalink
feat(jans-auth): update SG script to conform API (#9551)
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 <[email protected]>

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

Signed-off-by: Yuriy Movchan <[email protected]>

---------

Signed-off-by: Yuriy Movchan <[email protected]>
Co-authored-by: Yuriy M. <[email protected]>
  • Loading branch information
yurem and yuremm committed Sep 20, 2024
1 parent 6580d48 commit 661b380
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
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 661b380

Please sign in to comment.