We’ve implemented authentication in our React SPA using the PKCE workflow via the
127.0.0.1:8080 for test and dev work. Port 7080 works fine but when using port 8080 users get redirected to auth0.com after logging in. The two are of course configured identically in the Auth0 dashboard i.e. both are in the list of callback URLs, logout URLs, and origins.
The disconnect seems to be when
ourdomain.auth0.com/login/callback gets called.
When using port 8080 the response location header is
When using port 7080 the response location header is