Skip to content

Commit

Permalink
VercelMP: send back state param in callback
Browse files Browse the repository at this point in the history
  • Loading branch information
dsavelev committed Oct 27, 2024
1 parent f60e4e8 commit 6ea9953
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/vercel/VercelMPIdentityProvider.java
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ public Response authResponse(@QueryParam(AbstractOAuth2IdentityProvider.OAUTH2_P
authSession.setClientNote(OIDCLoginProtocol.REDIRECT_URI_PARAM, redirectUri);
authSession.setClientNote(OIDCLoginProtocol.RESPONSE_TYPE_PARAM, OAuth2Constants.CODE);
authSession.setClientNote(OIDCLoginProtocol.ISSUER, Urls.realmIssuer(uriInfo.getBaseUri(), realm.getName()));
authSession.setClientNote(OIDCLoginProtocol.STATE_PARAM, state);

session.getContext().setAuthenticationSession(authSession);

Expand Down

0 comments on commit 6ea9953

Please sign in to comment.