App infinitely redirecting after login

Hi @stephanie.chamblee
Thanks for your response.

I am using the “@auth0/auth0-react” library, v1.4.0.
I can easily reproduce the issue by

  • open a new incognito window using chrome v90.0.4430.212
  • navigate to my website https://[my site]
  • auth0’s sign in form appears in the page, so I enter the details and select ‘login’

Then:

  • it logs in
  • the site is redirected to https://[my site].com/?code=[my code]
  • but i think auth0 then tries to redirect the browser back to auth0’s login page, however, we’re already logged in, so it redirects back to the app. In the brief second that the window is redirecting, you can see “pop up blocked” in the address bar.

It seems to be fine for

  • chrome in normal browsing mode
  • firefox in normal browsing mode
  • firefox in ‘private browser’ mode

Maybe chrome in cognito isn’t passing the logged in state back to the react app properly? Any tips on how we can address this?

update 1: it looks like this thread has the exact same issue as us: