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

MSAL issue with AuthError #1178

Open
2 tasks
Richard87 opened this issue Jan 27, 2025 · 0 comments
Open
2 tasks

MSAL issue with AuthError #1178

Richard87 opened this issue Jan 27, 2025 · 0 comments
Labels
🐛 bug Something isn't working

Comments

@Richard87
Copy link
Contributor

Richard87 commented Jan 27, 2025

https://equinor.slack.com/archives/CBKM6N2JY/p1737973269184489

  • Check for MSAL AuthError in getFetchErrorData
  • Figure out why MSAL didnt redirect user to login when refreshtoken was outdated (coult it be because of the exception?)

More context:

rtk-query.modern.mjs:784  InteractionRequiredAuthError: refresh_token_expired: Refresh token has expired.
    at oE (InteractionRequiredAuthError.mjs:92:12)
    at aE.acquireTokenWithCachedRefreshToken (RefreshTokenClient.mjs:105:19)
    at FunctionWrappers.mjs:74:16
    at aE.acquireTokenByRefreshToken (RefreshTokenClient.mjs:89:210)
    at FunctionWrappers.mjs:74:16
    at H9.acquireToken (SilentRefreshClient.mjs:38:222)
    at async tS.acquireTokenSilent (StandardController.mjs:1192:21)

and

index.ts:57  unkown error received:  {name: 'InteractionRequiredAuthError', message: 'refresh_token_expired: Refresh token has expired.', stack: 'InteractionRequiredAuthError: refresh_token_expire…x.equinor.com/assets/index-BggVxgie.js:58:166012)'}

#1177

@Richard87 Richard87 added the 🐛 bug Something isn't working label Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant