Skip to content

Commit

Permalink
Merge pull request #28 from neondatabase/dsavelev/send-back-state-param
Browse files Browse the repository at this point in the history
VercelMP: send back `state` param in callback
  • Loading branch information
dsavelev authored Oct 28, 2024
2 parents f60e4e8 + 6ea9953 commit 4bba1b6
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 4bba1b6

Please sign in to comment.