rgz
rgz
CCConvex Community
Created by LifeIsBoring on 9/9/2024 in #support-community
Cannot get current user
What’s your getCurrentUser look like?
8 replies
CCConvex Community
Created by Nerdkidchiki on 9/8/2024 in #support-community
Getting Server error when setting Github sign in with Convex Auth in Next js
Yeah let me know what happens, if you haven't done much and it's just the auth, I'm more than happy to check it out if you wannt invite me to the repo
18 replies
CCConvex Community
Created by Nerdkidchiki on 9/8/2024 in #support-community
Getting Server error when setting Github sign in with Convex Auth in Next js
I'm using NextJS and Convex Auth at the moment and havent run into this
18 replies
CCConvex Community
Created by Nerdkidchiki on 9/8/2024 in #support-community
Getting Server error when setting Github sign in with Convex Auth in Next js
I can try to recreate it
18 replies
CCConvex Community
Created by Nerdkidchiki on 9/8/2024 in #support-community
Getting Server error when setting Github sign in with Convex Auth in Next js
I'd need to check it out
18 replies
CCConvex Community
Created by Nerdkidchiki on 9/8/2024 in #support-community
Getting Server error when setting Github sign in with Convex Auth in Next js
Hmm
18 replies
CCConvex Community
Created by Nerdkidchiki on 9/8/2024 in #support-community
Getting Server error when setting Github sign in with Convex Auth in Next js
Is your code open source?
18 replies
CCConvex Community
Created by Nerdkidchiki on 9/8/2024 in #support-community
Getting Server error when setting Github sign in with Convex Auth in Next js
@Nerdkidchiki Can you show me how your auth.ts file looks
18 replies
CCConvex Community
Created by Nerdkidchiki on 9/8/2024 in #support-community
Getting Server error when setting Github sign in with Convex Auth in Next js
Can you post how you're trying to set it? Did you sent env keys in convex dashboard?
18 replies
CCConvex Community
Created by Eva on 9/1/2024 in #support-community
Deleting users with Convex Auth
Lol I hear ya. Let me know if I can be of more help.
18 replies
CCConvex Community
Created by Eva on 9/1/2024 in #support-community
Deleting users with Convex Auth
Yeah I think you should be okay using mutations
18 replies
CCConvex Community
Created by Eva on 9/1/2024 in #support-community
Deleting users with Convex Auth
You would need to use an action if you’re wanting to call an internal mutation
18 replies
CCConvex Community
Created by Eva on 9/1/2024 in #support-community
Deleting users with Convex Auth
In this example, if I’m deleting an organization, I want any related tags to be deleted.
18 replies
CCConvex Community
Created by Eva on 9/1/2024 in #support-community
Deleting users with Convex Auth
Here’s an example
18 replies
CCConvex Community
Created by Eva on 9/1/2024 in #support-community
Deleting users with Convex Auth
const tags = await ctx.db.query("tags") .withIndex("by_orgId", (q) => q.eq(("orgId"), args.id as Id<"organization">)) .filter((q) => q.eq(q.field("orgId"), args.id)).collect(); for (const tag of tags) { await ctx.db.delete(tag._id as Id<"tags">); }
18 replies
CCConvex Community
Created by Eva on 9/1/2024 in #support-community
Deleting users with Convex Auth
I can help a bit more when I get home if you haven’t sorted it.
18 replies
CCConvex Community
Created by Eva on 9/1/2024 in #support-community
Deleting users with Convex Auth
Ah, you’ll need to query for those rows then delete the items that are referenced by the userId
18 replies
CCConvex Community
Created by Eva on 9/1/2024 in #support-community
Deleting users with Convex Auth
ctx.db.delete(userId)
18 replies
CCConvex Community
Created by Eva on 9/1/2024 in #support-community
Deleting users with Convex Auth
Use a delete function and delete by _id
18 replies
CCConvex Community
Created by hrutik_k on 8/23/2024 in #support-community
convexAuth , nextJS google auth getting 404:not found error while click on the signIn
msg'd you.
11 replies