Skip to content

Commit

Permalink
Merge pull request #44986 from sberyozkin/minor_oidc_fixes
Browse files Browse the repository at this point in the history
Minor OIDC updates
  • Loading branch information
sberyozkin authored Dec 8, 2024
2 parents fee0049 + 298daf3 commit e7b3e25
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,10 @@ public String getEndSessionUri() {
return endSessionUri;
}

public String getRegistrationUri() {
return registrationUri;
}

public List<String> getSupportedScopes() {
return getStringList(SCOPES_SUPPORTED);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ private UniOnItem<HttpResponse<Buffer>> getHttpResponse(OidcRequestContextProper

private AuthorizationCodeTokens getAuthorizationCodeTokens(OidcRequestContextProperties requestProps,
HttpResponse<Buffer> resp) {
JsonObject json = getJsonObject(requestProps, metadata.getAuthorizationUri(), resp, OidcEndpoint.Type.TOKEN);
JsonObject json = getJsonObject(requestProps, metadata.getTokenUri(), resp, OidcEndpoint.Type.TOKEN);
final String idToken = json.getString(OidcConstants.ID_TOKEN_VALUE);
final String accessToken = json.getString(OidcConstants.ACCESS_TOKEN_VALUE);
final String refreshToken = json.getString(OidcConstants.REFRESH_TOKEN_VALUE);
Expand Down

0 comments on commit e7b3e25

Please sign in to comment.