Trying to use Auth0 for Twitch authentication
Using this VueJS boilerplate:
(pull and npm start it)
I have my callback URL set in my code as:
‘http://localhost:3000/callback’
And my app in Twitch callback URL is set as:
‘http://localhost:3000/callback’
Literally the same.
I have my Auth0 API configured using the Custom Social Connections extension using the correct Twitch App ID.
Basically, I can get to the part of the journey where my callback URL is passed from Auth0 to Twitch and that is the point where I’m greeted with a redirect_mismatch error:
http://localhost:3000/callback?error=redirect_mismatch&error_description=Parameter%20redirect_uri%20does%20not%20match%20registered%20URI&state=96plLRmhXPV93QwGt7UNX0o783WsgUkI
For this reason, I feel like this is a Twitch issue and I’m asking here as to why I could be getting a redirect mismatch error even though my URLs are identical. It’s confusing as well given that after logging in, twitch is actually redirecting back to… you guessed it, the correct redirect url?
Is there any way I can debug this and see why Twitch keep insisting they have the wrong redirect URL?