Zachoo
Zachoo
CCConvex Community
Created by Zachoo on 10/18/2024 in #support-community
Setting Up Convex Auth In Mono Repo
Hey can you elaborate on info regarding sessions times e.g. how long a user stays logged in once logged in i want to keep a users seszsion basically forever
10 replies
CCConvex Community
Created by Zachoo on 10/18/2024 in #support-community
Setting Up Convex Auth In Mono Repo
Took a look is this just sign up ? how do you manage sign in ?
10 replies
CCConvex Community
Created by Zachoo on 10/18/2024 in #support-community
Setting Up Convex Auth In Mono Repo
Thanks I have looked through this the primary area I think the docs lack is the email validation flow, controlling the views and a clearer overview of the terms flow and the provider syntax. I think the current docs also don’t add a flow to the call to the password provider with verify set.
10 replies
CCConvex Community
Created by Zachoo on 10/18/2024 in #support-community
Setting Up Convex Auth In Mono Repo
I think the docs for email verification are just incorrect they don’t set a flow variable
10 replies
CCConvex Community
Created by Zachoo on 9/3/2024 in #support-community
Onboarding Flow Clerk x Convex Multitenant
Then you can add org to custom claims in JWT and use this to protect actions in functions on convex server side.
4 replies
CCConvex Community
Created by Zachoo on 9/3/2024 in #support-community
Onboarding Flow Clerk x Convex Multitenant
The org id is pulled from clerk so responds to updates from clerk client components.
4 replies
CCConvex Community
Created by Zachoo on 9/3/2024 in #support-community
Onboarding Flow Clerk x Convex Multitenant
Resolved: Add a key to the convex clerk provider to force a refresh
export function ConvexClientProvider({ children }: { children: ReactNode }) {
const orgId = useAuth().orgId;

return (
<ConvexProviderWithClerk key={orgId} client={convex} useAuth={useAuth}>
{children}
</ConvexProviderWithClerk>
);
}
export function ConvexClientProvider({ children }: { children: ReactNode }) {
const orgId = useAuth().orgId;

return (
<ConvexProviderWithClerk key={orgId} client={convex} useAuth={useAuth}>
{children}
</ConvexProviderWithClerk>
);
}
4 replies