Hello guys, I am at the point in the twitch authorization wherein twitch sends me back a code.
I don’t have everything set up yet and neither am I working with ejs. But just so I can understand the reason behind the error: After having authenticated once (or the first time) the second time around I head over to the authentication route, the browser returns with an “This site cannot provide a secure connection” error and does not load the page. However, in the URL I am still being sent back the code.
Would really appreciate it if someone can help me understand what’s going on. Thank you!
Right, so after you have pointed out that the library I was using was outdated, I used the new one. And it’s working… better, now Twitch is returning the profile information through console.log, but the browser is returning a different error: “InternalOAuthError: Failed to obtain access token”
Then you need to refer to the documentat and support routes for passport/the strategy. Which is generally outside the scope of this forum since it’s a specific library problem now