question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Token renewal operation failed due to timeout(React).

See original GitHub issue

Hi, i am using this library(msal@1.2.1) in my react project for authentication. I am trying loginRedirect, after that i am trying silent token. I am facing this issue

Token renewal operation failed due to timeout.
   at ClientAuthError.AuthError [as constructor] (http://localhost:3000/static/js/0.chunk.js:65073:24)
   at new ClientAuthError (http://localhost:3000/static/js/0.chunk.js:65218:24)
   at Function.ClientAuthError.createTokenRenewalTimeoutError (http://localhost:3000/static/js/0.chunk.js:65255:12)
   at http://localhost:3000/static/js/0.chunk.js:67409:89

But if i use msal@1.1.3 it is working

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:27 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
jurisjansonscommented, Apr 20, 2020

@suresh777 it’s empty .html file, empty file with .html as extenstion, didn’t even add any html code in it. I have placed it in public folder (next to index.html) so I can call it without rendering react. Here is sample from react-aad-msal

0reactions
skyshine999commented, May 7, 2020

I checked with msal@1.2.2 , refresh token is working properly with auth.html

Read more comments on GitHub >

github_iconTop Results From Across the Web

Token renewal operation failed due to timeout MSAL Angular ...
The issue still happens, but after a moment it seems to fix itself up and gets me to reauthenticate. Telling people to go...
Read more >
"Error: Token renewal operation failed due to timeout" in adal ...
I have developed a webpart to get Azure users using SharePoint Framework React with graph api. But in Adal.js file getting following error:....
Read more >
External module "error/ClientAuthError" - msal
desc: string = "Token renewal operation failed due to timeout." Defined in error/ClientAuthError.ts:30. userCancelledError. userCancelledError: object.
Read more >
Token renewal operation failed due to timeout
The problem is solved. On the ADFS server: I deleted the Application Group with the name "Microsoft Dynamics 365 for Operations On-premises" in...
Read more >
ADAL.JS Token renewal operation failed due to timeout error
My code tries to authenticate the logged in user by getting the cached token. If the chached token is null, I use acquireToken...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found