cameronm
cameronm
CCConvex Community
Created by cameronm on 8/27/2024 in #support-community
auth:store signUp Error with duplicate email
I am attempting to handle cases where a user attempts to create an account with an email that already exists in the users table Based on docs it seems I am suppose to use createOrUpdateUser callback in auth.ts My issue is that auth:store is throwing an error before this callback is reached. auth:store failure 314ms Uncaught Error: Account <someexistingemail@email.com> already exists at handler (../../../../node_modules/.pnpm/@convex-dev+auth@0.0.61_convex@1.14.4/node_modules/@convex-dev/auth/dist/server/implementation.js:601:28)
2 replies
CCConvex Community
Created by cameronm on 8/21/2024 in #support-community
Convex Auth user table fields
I've been looking for documentation on this with no avail. Querying the users table strips all the fields other than _createdTime, _id, name, email This is whether I used db.get or db.query. Any way around this? I set up a role field on my Password provider profile and added it to the user table, but it doesn't get returned by the query
12 replies
CCConvex Community
Created by cameronm on 8/21/2024 in #support-community
Service Outage?
Logged on this morning to continue some work from yesterday, and all of my queries are all of the sudden erroring. When I look at the Logs, nothing is getting logged, and I am getting intermittent error toasts saying trying to reconnect to log stream. Anyone else having issues?
7 replies