skip to Main Content

Reactjs – Cors issue with react, express, and discord Oauth2

Access to XMLHttpRequest at 'https://discord.com/oauth2/authorize?response_type=code&redirect_uri=https%3A%2F%2Fx%2Fapi%2Fauth%2Fdiscord%2Fcallback&scope=identify%20email%20guilds.members.read%20guilds.join%20guilds&client_id=x' (redirected from 'x/api/auth/discord') from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. so ya ive tried a few things to try and solve the cors issue…

VIEW QUESTION
Back To Top
Search