Skip to content

Commit

Permalink
[ES-1558] Changed v2/oauth-details to v3/oauth-details during aut…
Browse files Browse the repository at this point in the history
…horize.

Signed-off-by: Gk <[email protected]>
  • Loading branch information
gk-4VII authored Aug 22, 2024
1 parent 8d7062f commit f185327
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions oidc-ui/src/components/Authorize.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,11 +163,7 @@ export default function Authorize({ authService }) {
}
};

if (!request.idTokenHint) {
await post_OauthDetails_v2(filteredRequest).then(handleResponse);
} else {
await post_OauthDetails_v3(filteredRequest).then(handleResponse);
}
await post_OauthDetails_v3(filteredRequest).then(handleResponse);
} catch (error) {
setStatus(states.LOADED);
setOAuthDetailResponse(null);
Expand Down

0 comments on commit f185327

Please sign in to comment.