DEV Community

Finn
Finn

Posted on

Discord OAuth2 redirect uri invalid

Hey there! I tried creating a discord login for my website, but it always gives me the Invalid OAuth2 redirect_uri for my webpage even though it should be correct. My website is currently locally under localhost:3000 and I added the uri as localhost:3000/api/auth/callback/discord. Does anyone know what I did wrong here? I am using latest Next auth afaik.

Top comments (0)