Is there any more info in the login required error?
When the applications does a getTokenSilently, it uses an existing session to renew the access token. The error indicates that the existing session doesnât exist, is expired, etc.
It seems to work in Chrome only; in Firefox and Brave I am getting to my SPA, it either prompts user to login or makes a call to authorize and it gets id_token and access_token. But when in my code I call getAccessTokenSilently I am simply getting login_required.
I tried working over SSL (I am still developing locally, so my app is at http://localhost:3000) but that made no difference.
In Firefox and Brave this only works if I provide the audience to the Auth0Provider. I canât use adaptive audience when calling getAccessTokenSilently it simply doesnât work.
This is pretty odd and what are we supposed to do if we have multiple APIs we want to call?
@dan.woda Iâd love to use refresh token rotation if I found anywhere how to enable it. I checked the toggle forever ago but it doesnât seem to have any effect. From the requests in the browser I can see that itâs the token is returned in response to authorization_code.