"@auth0/auth0-spa-js": "^1.12.1",

I’m having the same issue. But I verified against Chrome, Safari, and Firefox on Mac OS where they all behave the same - 401 response. You may also see an error in your Console that says “Invalid State”.

There seems to be a number of different ways that Invalid State can be caused.

The underlying theme is that there is a misconfiguration somewhere that is causing this behavior. But I can’t isolate it in my environment - yet.