Login required error
See original GitHub issueDescribe the problem
I keep seeing a Login required
error. It’s super linked to this issue but only seems to happen on an incognito session (when I don’t already have a token or cookie), because of this I’m worried this happens for all new users.
I can’t figure out how to comment on the auth0 community (as it’s pants) so hope it’s ok here.
When this error shows it seems the cookie has been added ok (screenshot attached). I’ve realized too sometimes when I see this error, navigate to the homepage, and then to the dashboard, I am actually logged in.
What was the expected behavior?
It should log me in. Or it should actually be an error and not set the token.
Reproduction
- When you log in to EcoPing in incognito
- Hit confirm and see the Login Required Error.
getAccessTokenSilently
seems to fail immediately


NOTE: Once I redirect to the homepage I seem to have another cookie that is set which makes me logged in, which is super strange.

Please provide the following:
- Version of
auth0-react
used: “^1.8.0” - Which browsers have you tested in? Chrome - Version 96.0.4664.55
- Which framework are you using, if applicable (Angular, React, etc): React
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)
Thanks @adamjmcgrath that’s super interesting! Will have a look ASAP
Worth noting here that Brave blocks third-party cookies by default (through it’s “Shield” feature) whether you’re in incognito mode or not, so I believe @adamjmcgrath’s recommendation here is still relevant.