shrug
Multiple redirectURI’s is new. But in the token exchange you should use the same redirect_uri.
Steps are
- someone comes to your site and hits login
- You send some to Twitch, they accept the connection
-
They come back to you with a code, to the specified redirectURI in the outbound redirect/link, in step 2.
-
You use that code with the same ClientID and redirectURI to get an access token, via server to server HTTP Post (not a redirect to the token exchange URL).
-
Then you use the access token as you need to.
Thats it.
Theres no redirect after that, so you attempting to use two redirectURI’s in the flow doesn’t make sense here