Lord
Lord2w ago

I get an error when i try to setup convex auth for my react native app

No description
6 Replies
ballingt
ballingt2w ago
Could you open an issue on https://github.com/get-convex/convex-auth, it sounds like the setup at https://labs.convex.dev/auth must be missing a step?
Convex Auth - Convex Auth
Authentication library for your Convex backend
ballingt
ballingt2w ago
GitHub
GitHub provider says email is null · Issue #161 · get-convex/convex...
Using export const { auth, signIn, signOut, store, isAuthenticated } = convexAuth({ providers: [GitHub], }); I get "Failed to insert or update a document in table "users" because it ...
GitHub
Cannot read properties of null (reading 'redirect') when using Pass...
I encountered an issue while developing the user registration feature using the Password Provider from Convex Auth in a Next.js project. Upon submitting the registration form, the following error o...
Lord
LordOP2w ago
i think most people do not have issues logging into their react/nextjs app. I think it's an expo issue with the redirect.
erquhart
erquhart5d ago
Just following the trace, it does seem the code param is null. The Convex Auth docs do hint that Magic Link may not work for React Native. I use OTP with Convex Auth and RN, but haven't tried magic link yet.
Lord
LordOP4d ago
I don’t use magic link. @erquhart Do you have a starter, I’ll Ike convex to manage everything rather than using clerk.
erquhart
erquhart4d ago
I don't have a starter for react native - you're saying you're just using plain email + OTP? If so can you share your auth.ts? and guessing you have a resend otp function you're importing, if you can paste that too

Did you find this page helpful?