Discord oauth with Convex Auth and invalid redirect uri.
I've been trying to setup discord oauth with convex and it's giving me so much issues!
Here's my auth.ts
Here's the sign in button:
And here's my middleware (with next-intl):
NEXT_PUBLIC_CONVEX_URL=http://127.0.0.1:3210 so this is default.
I've been trying to set up callback url within discord dev portal to variations of
http://localhost:3210/auth/callback/discord, I tried localhost, tried 127.0.0.1, tried 3210 and 3000 ports and it always gives me wrong oauth2 redirect_uri error.I am out of ideas and I was hoping I can get some help here.
