Skip to content

Commit

Permalink
Minor OIDC updates
Browse files Browse the repository at this point in the history
  • Loading branch information
sberyozkin committed Dec 7, 2024
1 parent 94e600e commit 298daf3
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 298daf3

Please sign in to comment.