Discord not signing in
I'm testing create-t3-app. When I click sign in I get a 302 status code.
5 Replies
Did you create an app on discord and add the right id and secret to the
.env
file?Hey @tonyyalt , did you manage to resolve this? I've hit the same issue
I have not manage to resolve this
I did yes
After a few hours of tinkering I managed to pin it down to the check than injects a
csrf=true
at the end of the URL. Turns out to be a node issue, and upgrading from 18 -> 20 seems to have fixed my issue. https://github.com/nextauthjs/next-auth/discussions/7785GitHub
CSRF Problem on NextJs 13.4 · nextauthjs next-auth · Discussion #77...
Question 💬 I do check next-auth with NextJs v12 and v13 separately, as you may know, v12 uses the pages directory and v13 uses the app directory. next-auth sign-in works perfectly on v12 but not on...
ahh awesome thank you
you're awesome for that