I’m trying to debug an app I didn’t write… and I don’t have that much experience. I have a production version of the app running fine, and i’m trying to run a test version on a different server.
The problem lies with the authorization process.
Here’s the issue as far as I can tell: upon providing the authorizaion url (starting with https://id.twitch.tv/oauth2/authorize), in case no Twitch user is logged in, the browser loads…
The app is made to work with passport.twitch.tv/sessions/new, not the other url. but I can hardly find any reference to it out there?.. except I read somewhere it’s an undocumented endpoint?
Why would the same auth url load different pages during the auth process?
Is it good practice to use passport.twitch.tv/sessions/new at all?