Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenID Connect can return an id_token as part of the refresh_token grant type #396

Open
c0ntax opened this issue Nov 16, 2023 · 0 comments

Comments

@c0ntax
Copy link

c0ntax commented Nov 16, 2023

The refreshToken() method in OpenIDConnectClient doesn't seem to allow for the setting of the id_token if it is present in the response payload. The OpenID Connect spec suggests that the id token is something that may come back with the response: https://openid.net/specs/openid-connect-core-1_0.html#RefreshTokenResponse

Given that it is possible, maybe the code should also add it to the OpenIDConnectClient data so that it can be accessed via the getIdTokenPayload method?

c0ntax added a commit to c0ntax/OpenID-Connect-PHP that referenced this issue Nov 16, 2023
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

No branches or pull requests

1 participant