Skip to content

Conversation

@jsifuentes
Copy link
Contributor

Type: new feature

In raising this pull request, I confirm the following (please check boxes):

  • I have read and understood the Contributing Guidelines.
  • I have checked that another pull request for this purpose does not exist.
  • I wrote some tests for this PR.

Small description of change: Adds a getter for id_token when using OpenID connect.

When using 'RP-Initiated Logout' in OpenID, the RP can redirect the user to the Identity Provider and provide a id_token_hint which is meant to equal a previously issued id_token. Spec. But when using this library, the id_token is parsed and the original id_token string is discarded here. Only the parsed JWT is left over, and it doesn't seem possible to reconstruct the id_token string from the JWT class. So this PR saves the id_token string in AccessToken and provides a getter for it.

@ADmad ADmad merged commit bbe65f3 into SocialConnect:master May 18, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants