http://localhost:3000/api/auth/callback/discord redirect_uri is not working for create t3 turbo

Am I missing something? The only thing I am getting is an error telling me InvalidCheck: Missing state in query, but required for redirect proxy And auth.js documentation is talking about something else
1 Reply
LockStockDazzle
LockStockDazzleOP10mo ago
Okay I found it. You have to redirect to http://localhost:3001/api/callback/discord For it to work. Also you need to enable trustedHost on the auth-proxy server for it to work locally. This is for create t3 turbo app so don't confuse with it if you are using regular create-t3-app
Want results from more Discord servers?
Add your server