React SPA loops during login process

Hello !

On some browser (especially Firefox) we encounter a strange phenomenon which is particularly annoying because it’s random without understanding why.

The authentication process (OAuth with PCKE) loops indefinitely, each time assigning a new code in the URL. Sometimes it stops and after a few seconds we find ourselves well connected. On other browsers (Chrome, Safari, …) there is no loop but the connection is slower than before.

Thank you in advance for your help or your thoughts!

  • Which SDK this is regarding: auth0-spa-js with React
  • SDK Version: 1.20.1
  • Platform Version: React
  • Loom: Here
    • First part : Staging env = no loop
    • Second part : Production env = loop