CORS Error, .NET 7 and ReactJS

So you have a token

Why are you going to get a token again when you already have a token in session?

Here you are not calling a Twitch endpoint you seem to be fetching the oAuth entry point, either not reususing the token from session or the user isn’t logged in with Twitch to your site at this point