C#C
C#16mo ago
Swyftey

✅ Discord Authentication Redirection Issue

Hi.

I am new to C#/ASP.NET and just want this Discord OAuth "Challenge" to work properly.

Current Routes:
  • "/auth/login"
  • "auth/login-redirect"
The issue is: When I click "Authorize" on the Discord page and it's supposed to redirect me to my desired callback URL, it just hits the login route ("/auth/login") again. The redirect URL IS apparently hit, but nothing is executed like it should be.

EDIT: If I set the "RedirectUri" to "RedirectLogin", the code and state query parameters are not passed through.

Any help is greatly appreciated, thanks!
devenv_XH4NSVICEZ.jpg
devenv_HrfuszT92V.jpg
chrome_knRxTyVhfi.jpg
Was this page helpful?