C#C
C#6mo ago
2 replies
Swyftey

CORS Is Blocking OAuth Login Redirect?

Hi,

Long story short, I just want my API endpoint /api/auth/login to redirect the user to an OAuth link (Discord).

Currently, the browser is blocking the redirect request due to CORS. I am not sure how exactly to fix this.

Any help is greatly appreciated, thanks!
firefox_5mG6lxepuy.png
Was this page helpful?