oscabriel
oscabriel
CCConvex Community
Created by jason on 3/27/2025 in #general
Have you had a chance to explore `Better Auth`
How would I build a mutation to patch changes directly to the better-auth component table? Or is the better method to add a name and image field to the users table created for our actual app's database and read from those instead of the table from better-auth?
166 replies
CCConvex Community
Created by jason on 3/27/2025 in #general
Have you had a chance to explore `Better Auth`
My next follow-up question is, social logins easily pull name and profile image data from the provider during sign-in, but what's the best approach for this w/ email OTP sign-in?
166 replies
CCConvex Community
Created by jason on 3/27/2025 in #general
Have you had a chance to explore `Better Auth`
Thank for putting this together and helping everyone out in this channel and asking a lot of good questions over on the better-auth discord 🙂
166 replies
CCConvex Community
Created by jason on 3/27/2025 in #general
Have you had a chance to explore `Better Auth`
Got it working finally! I've been trying to rebuild your example repo line by line to teach myself what's going on each step of the way (since I've built apps with convex and better-auth separately and really wanted to understand how they were being stitched together), and there was a weird function that Cursor threw into my app at some point that was messing things up.
166 replies
CCConvex Community
Created by jason on 3/27/2025 in #general
Have you had a chance to explore `Better Auth`
You're right, it's not in there anywhere, just the const { isAuthenticated, isLoading} = useConvexAuth(); that is straight from your example repo
166 replies
CCConvex Community
Created by jason on 3/27/2025 in #general
Have you had a chance to explore `Better Auth`
No description
166 replies
CCConvex Community
Created by jason on 3/27/2025 in #general
Have you had a chance to explore `Better Auth`
I've been trying to get this up and running in Next.js, but am getting stuck with email OTP. The isAuthenticated state isn't getting saved to local storage (or to Convex?), so when I succesfully receive an email OTP code and enter it to verify, I'm not being redirected to the dashboard page because it still thinks isAuthenticated is "false". Any idea where I might be going wrong here?
166 replies