Discord oAuth: message: 'State cookie was missing.'

I have this error whenever I redirect my users to my discord login callback URL. I used to have it before error in the console, but it would simply error in the console and display a small message on the UI to the user so I didn't really look further into it, but now, it redirects my users to a 404 page. The error I have in the console is:
name: 'OAuthCallbackError',
code: undefined
},
providerId: 'discord',
message: 'State cookie was missing.'
}
name: 'OAuthCallbackError',
code: undefined
},
providerId: 'discord',
message: 'State cookie was missing.'
}
I am using T3Stack, didn't touch anything, the discord ID / secret are right and I tried changing them. Online sources talked about changing version and adding config elements which didn't end up working. Used to work perfectly fine. Only thing I added since it broke is Uploadthing, but I don't see how it would break it. Would appreciate some help.
No description
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server