Hey so we are using passport.js/TwitchStrategy, we are able to successfully authenticate through the browser. We cannot figure out how we can test authentication through Postman. We are trying to hit our endpoint through postman to authenticate through twitch. In Postman, the response sends back HTML and if you go to the preview Tab and enter your credentials nothing happens. How can we go about solving this issue?
So we have our own server using passport/twitch.js… say we go to localhost:3000/api/auth/twitch… it will hit our endpoint to check if user is authenticated using passport-twitch. This will redirect a browser to twitch’s login screen to either enter credentials or redirect to the callback url specified in the registration. Works fine and dandy… If we do the same in postman, there isn’t a redirect to twitch login screen to authorize. So we are trying to find a way to hit our endpoint (localhost:3000/api/auth/twitch) through postman, allow a redirect to happen within postman, enter credentials, get redirected to our server callback and be authenticated. Are you saying this is not possible at all?