Get Oauth token by jQuery AJAX - blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource

The first step of oAuth is to redirect the user to Twitch.

Not a Ajax call to fetch this URL.

You are doing step 1 wrong

1 Like