I’m using the auth0/auth0-spa-js library in my React application and have followed the getting started tutorial.
When using just the database connection with an email and password for logging in the auth flow works just fine. But when I try to use the GitHub connection my auth is failing and I only get thisredirect_uri_mismatch error passed along in the query params after redirecting back to my page. I have confirmed that all of my redirect uri values in my app, auth0 and github match. Anyone else having this issue? HAR file attached.
In addition to the above, I just downloaded and ran the sample app from the getting started docs and am running into the same issue. Email login is working as expected, but using GitHub fails and returns the redirect_uri_mismatch error.
In case it’s an issue with my settings in auth0 or GitHub, here are some screenshot of both.
Was running into this issue as well. Turns out the callback URL Github was looking for is https://[AUTH0_TENANT].auth0.com/login/callback, NOT the callback URL declared in my Auth0 dashboard.