Auth0 Login Loop: Silent Authentication Not Working
Workaround available SPA, React, Angular, Vue, Safari Updated November 13, 2026Based on 5 user reportsHow we research
Quick answer
Login loops and failing silent authentication usually come from browsers blocking third-party cookies. Use a custom domain and/or refresh token rotation, and make sure your logout redirect is not itself a protected page.
Most likely fix: Use a custom domain
How to fix it
Try these in order — the most common fix is first.
1. Use a custom domain
- Configure a Custom Domain so the Auth0 domain shares your app's domain
- On the Free plan a custom domain needs a valid credit card on file for verification (it is not charged)
Did this fix it?2. Use refresh token rotation
- Enable Allow Refresh Token Rotation in the application Settings
- Request the offline_access scope; rotation helps SPAs keep sessions alive when browser privacy features block the Auth0 session cookie
Did this fix it?3. Fix the logout redirect
- Make the logout redirect URL an anonymous page not protected by login
- Make it different from the login callback URL and list it in Allowed Logout URLs
Did this fix it?
Symptoms
User logs in, is redirected back, and immediately bounced to login again; getTokenSilently fails with "login_required" or times out.
Why it happens
- Chrome, Opera and Safari block third-party cookies, breaking cross-origin authentication unless a custom domain is used
- Safari "Prevent cross-site tracking" (ITP) can break token renewal even with third-party cookies enabled
- Logout redirect URL points to a page that triggers login again, or equals the login callback URL
This guide also covers
- auth0 login loop
- auth0 silent authentication not working
- auth0 third party cookies
- auth0 login_required
Still not working?
If Auth0 keeps failing, you're not alone. See every Auth0 problem users report or the alternatives people switch to.
Have an app idea? Our small team builds any software: web and mobile apps, games, desktop, AI tools. Price agreed together.
Talk to us