CORS error on Authentication

You are getting a CORS issue because you are doing something wrong, and it’s a can’t fix because you are not supposed to be doing it.

Correct.

You dispaly a link to “login” that will either redirect the user to Twitch or is the URL to twitch.

No

Step 1) Send user off site to Twitch
Step 2) they accept/decline
Step 3) Twitch redirects them back to your Redirect_URI

No, you send the user you want to Authenticate, out to Twitch. You don’t send them to your own redirect URI