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
Refreshing a token must return access_token, refresh_token, token_type and expires_in, and optionally id_token with iat of the new id_token and auth_time of original id_token. Instead it returns an id_token with different auth_time, causing a mismatch in auth_time values check.
This is because user.last_login is used as the auth_time, instead it should use the original id_token's auth_time.
This is actually a critical issue and I want to help if I can without breaking the original code flow.
The text was updated successfully, but these errors were encountered:
I guess this is related to #230 and IdentityModel/oidc-client-js#1058
Refreshing a token must return access_token, refresh_token, token_type and expires_in, and optionally id_token with iat of the new id_token and auth_time of original id_token. Instead it returns an id_token with different auth_time, causing a mismatch in auth_time values check.
This is because user.last_login is used as the auth_time, instead it should use the original id_token's auth_time.
This is actually a critical issue and I want to help if I can without breaking the original code flow.
The text was updated successfully, but these errors were encountered: