Incorrect OAuth Redirect
Closed this issue · 3 comments
Description
After going through the Oauth process. I am not being redirected to the set redirect URL.
The generated Oauth link I am using:
https://discord.com/oauth2/authorize?client_id=1324025532182036542&response_type=code&redirect_uri=http%3A%2F%2Flocalhost%3A3001%2Fauth%2Fcallback&scope=identify+guilds+guilds.members.read
Steps to Reproduce
- Create application
- Create Oauth redirect URL (ex. http://localhost:3001/auth/callback)
- Generate Oauth Link
- Proceed through Oauth Process as normal via generated link
Expected Behavior
You should be redirected to http://localhost:3001/auth/callback after going through the Oauth process
Current Behavior
You are redirected to a parent level of your specified callback URL i.e., http://localhost:3001/auth
Screenshots/Videos
Current Behavior Demonstration (Brave)
https://github.com/user-attachments/assets/f888460f-4310-4bc5-ac93-ce8fe2a1a465
Current Behaviour Demonstration (Chrome)
Desktop.2025.10.19.-.12.29.37.05.mp4
Client and System Information
I am using Brave, however I have also tested this using Chrome.
I am running on Windows 11 Version 24H2 (KB5066131)
The OAuth URI that you provided redirects to the correct URL for me.
Have you tried refreshing your browser's cache/cookies? You can do that by deleting the history.
Unfortunately, it doesn't seem to fix it.
I realized I forgot to undo the response output change I did when I was debugging something a few days back 🫠
My bad!

