ballingt
ballingt
CCConvex Community
Created by gioru on 8/27/2024 in #support-community
Need help with handling Convex Auth signIn errors in prod
Generally configuration through code seems nice for complex cases, but if it's just a few errors you'd like thrown those could be added to the provider that comes with the library.
30 replies
CCConvex Community
Created by gioru on 8/27/2024 in #support-community
Need help with handling Convex Auth signIn errors in prod
well it lists too many, everything from Firebase
30 replies
CCConvex Community
Created by gioru on 8/27/2024 in #support-community
Need help with handling Convex Auth signIn errors in prod
That discussion on https://github.com/get-convex/convex-auth/issues/124 doesn't list specific ones that would be useful to implement, would love to hear which others you want.
30 replies
CCConvex Community
Created by gioru on 8/27/2024 in #support-community
Need help with handling Convex Auth signIn errors in prod
That's right, you need a custom provider. An alternative could be for the existing provider to accept options for whether it's ok to reveal that an email does not exist, etc for all the errors that could be thrown.
30 replies
CCConvex Community
Created by sonandmjy on 12/21/2024 in #support-community
Hitting error "found wrong number of app bundles" in dev CLI
I haven't tried to repro yet, yeah if there's anything extra required please let us know
11 replies
CCConvex Community
Created by sonandmjy on 12/21/2024 in #support-community
Hitting error "found wrong number of app bundles" in dev CLI
Great to know we have a Node.js 23 incompatibility! We'll follow up here when fixed.
11 replies
CCConvex Community
Created by DylanDev on 12/20/2024 in #support-community
Deleting Users from Backend Function that are Synced with Clerk
Ah yeah, apparently it's just import { clerkClient } from "@clerk/nextjs/server"; that needs Node.js, but '@clerk/backend' works in the normal convex js runtime
11 replies
CCConvex Community
Created by wess on 12/19/2024 in #support-community
Should I use `users` table or `profiles`?
We'll hit a level of stable at some point where we say "if we ever add a new field here we will start with it optional in one release, give you a migration to run, and in the next release it'll be required"
15 replies
CCConvex Community
Created by wess on 12/19/2024 in #support-community
Should I use `users` table or `profiles`?
oh right I think it's
const schema = defineTable({
...users.validator.fields,
myCustomFields
})
const schema = defineTable({
...users.validator.fields,
myCustomFields
})
or similar
15 replies
CCConvex Community
Created by wess on 12/19/2024 in #support-community
Should I use `users` table or `profiles`?
Maybe it's
const schema = defineTable({
...users.fields,
myCustomFields
})
const schema = defineTable({
...users.fields,
myCustomFields
})
15 replies
CCConvex Community
Created by wess on 12/19/2024 in #support-community
Should I use `users` table or `profiles`?
Does this not work?
15 replies
CCConvex Community
Created by Patolord on 12/20/2024 in #support-community
Architecture of larger convex apps.
What are the pain you're you're hitting? Maybe they can be addressed directly or the right pattern will be informed by what's a pain now.
4 replies
CCConvex Community
Created by Patolord on 12/20/2024 in #support-community
Architecture of larger convex apps.
These images don't mean much to me
4 replies
CCConvex Community
Created by Patolord on 12/20/2024 in #support-community
Architecture of larger convex apps.
One pattern we've seen larger codebases use is splitting up the schema into smaller pieces, and using "accessor" functions to access it
4 replies
CCConvex Community
Created by Degi on 12/20/2024 in #support-community
TS type error: Property 'messages' does not exist on type '{}'.ts(2339) (internal.messages)
Internal mutations look like internalMutation
4 replies
CCConvex Community
Created by Degi on 12/20/2024 in #support-community
TS type error: Property 'messages' does not exist on type '{}'.ts(2339) (internal.messages)
@Degi are there any internal mutations, queries, or actions in the messages file? If not, this is correct.
4 replies
CCConvex Community
Created by amir on 12/20/2024 in #support-community
Convex Auth JWT Subject
or if you're in a hurry, consider Clerk — I bet they have this feature
43 replies
CCConvex Community
Created by amir on 12/20/2024 in #support-community
Convex Auth JWT Subject
you can always fork the library, but it's worth understanding how this is used. I'd probably create a new JWT for these users if you need this, then delegate between Convex auth's JWKS URI and your own JWKS URI
43 replies
CCConvex Community
Created by amir on 12/20/2024 in #support-community
Convex Auth JWT Subject
yeah good question, it'll take some research to figure out
43 replies