You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(openIDConnect scheme): Check token expiration before id_token (#1684)
* fix(openIDConnect scheme): Check token expiration before id_token
During an Axios call, the token is not automatically refreshed because it relies on the tokenExpired return of the scheme check function, which first checks id_token which often expires at the same time, and therefore does not detect any problems.
By checking first the token expiration before the id_token, the problem is solved
Related issue :
#1370
* Fix linting error
* Added comment explaining the order / reasoning
#1684 (comment)
* Adjusted comment to be clearer about the exact order
* One more comment edit
* Fixing linting error (again)
* Fix linting error Check failure on line 122 in src/schemes/openIDConnect.ts
Co-authored-by: Dylan Geenen <58949478+dygeenen@users.noreply.github.com>
Co-authored-by: Steven Hollingsworth <shollingsworth@barracuda.com>
0 commit comments