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

Authorize Endpoint expires_in Parameter does not use OIDC_IDTOKEN_EXPIRE for ID Tokens #390

Open
hi5grant opened this issue May 31, 2021 · 0 comments

Comments

@hi5grant
Copy link

hi5grant commented May 31, 2021

While using the id_token client response type, I planned to save the expires_in redirect uri parameter to reference how long I should cache my returned ID token. However I saw the token expired sooner than what was returned in the redirect param. I looked through the code for the authorize endpoint and saw the OIDC_TOKEN_EXPIRE setting is used for any flow, access token and ID token, rather than referencing OIDC_IDTOKEN_EXPIRE when that’s the returning token.

Is this expected? Maybe I’m missing something.

The JWT itself has the right details anyway, so in the meantime I’m planning to just stash that value while in my code’s validate JWT step

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