I’m having a problem requesting tokens post login with
getAccessTokenSilently() when third-party cookies are blocked (ie Safari). I’m getting a
Login required error.
After finding some related posts on here, I took the following steps:
- Enabled Rotating Refresh Tokens in the Application configuration in Auth0
- Enabled Offline Access in the API configuration in Auth0.
I was still getting the problem so I also tried creating a new Application and test API in Auth0, but still no bueno.
After asking a co-worker to try the app on his Linux machine, he was able to successfully request a token with third-party cookies blocked on Chrome. However, myself (on MacOS) and another co-worker who also uses MacOS, were still getting the error in Chrome and Safari.
I’ve created this test repo which I’m able to consistently reproduce the error with:
If anyone has any ideas I’d really appreciate it, thanks.