Convex Auth Twitter Error
Hey, I set up twitter with convex auth as additional auth for linking the account atm. For primary auth I am using custom ConvexCredentials providers for eth/sol/ton wallet signin which works fine. However after signin with twitter I get the authorize screen but after authorizing it redirects back to previous path because I get the following error in the log at GET /api/auth/callback/twitter
Here is the default provider setup from auth.ts I am using:
Any idea?
8 Replies
Thanks for posting in <#1088161997662724167>.
Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets.
- Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.)
- Use search.convex.dev to search Docs, Stack, and Discord all at once.
- Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI.
- Avoid tagging staff unless specifically instructed.
Thank you!
Are there any other logs in your Convex dashboard? Seeing the actual error might shed some light
@unsphere did you find an answer for this? I’m supposed to demo in an hour for my company and I’m running into the same error
This is the same error that’s in the convex dashboard
Idk if you’re on the team but it would be nice if we could get much more clear errors than whatever this is.
Broadly, this is what the support model stuff here is referring to: https://labs.convex.dev/auth/config/oauth#providers
OAuth - Convex Auth
Authentication library for your Convex backend
Auth.js, which Convex Auth is built on, has a lot of providers, but they may or may not work out of the box with Convex Auth.
GitHub, Google, and Apple are specifically in the support scope currently.
I'm using Github OAuth and running in to the same issue
same code, same env vars, only difference is running convex locally results in the error, running it on the cloud doesnt.
Ah okay
It says error in the response body, can you find out what the error is
how would I get that
tried this, nothing of interest showed up