Hello I have a problem. I’m trying to get a new token after the token I already had expired in my SPA. The problem is the endpoint returns the following error:
Which SPA SDK are you using in particular? What happens if you don’t pass any params and just call getTokenSilently? Are you using authorizationParams?
I am using @auth0/auth0-spa-js. The issue that I describe in the post is the same when using getTokenSilently I pass authorizationParams to it or not. It’s also worth mentioning that I try to run getTokenSilently before and after the token expires, and the result is the same.
Thanks for confirming @luis.ponce1 ! Are you able to decode the initial access token at jwt.io?
I have seen similar issues arise when there is a misconfiguration causing 2 separate /authorize requests to run at the same time - Similar to what is described here:
Hi @ty.frith , apologies for the absence. These last few days I had little time to follow up on this bug and focused on other features. I want to tell you that yesterday I found the solution. It turns out that the problem was in the bad configuration of some custom rules, as I read in the solution of this other post: