Skip to content

Conversation

@martin1cerny
Copy link
Contributor

ID token often has significantly shorter expiry time compared to access token. This PR adds a non-destructive option to setupAutomaticSilentRefresh() which allows to only watch for certain kind of token expiry. This also solves issue #432.

@manfredsteyer manfredsteyer merged commit 0274cf5 into manfredsteyer:master Oct 25, 2018
@manfredsteyer
Copy link
Owner

Thx, that's great!

@davdev82
Copy link

@martin1cerny Although the option is added to filter token_expires based on the listenTo parameter, the code that sets up the timers setupExpirationTimers() still continues to use the shorter expiring time which will be id_token. I dont think the issue is still fixed.

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.

3 participants