After sending the user to the oauth2/authorize endpoint, my request is getting redirected to passport.twitch.tv, then to my redirect url with “#error=server_error&error_description=Unexpected+error%2C+authorization+request+could+not+be+completed”
What’s really confusing me is requesting that url in Postman seems to be returning a html login page correctly.
The url I am generating is something like this:
What could be the issue?
Edit: I realised the reason Postman was different was because I wasn’t already logged in, logging out gets me a twitch login screen, but after logging in I get the same error sent to my redirect url.