Theo's Typesafe CultTTC
Theo's Typesafe Cult7mo ago
3 replies
Perfect

Convex + Clerk Auth

Giving convex + clerk + nextjs a combo as theo recently recommended. Running into auth issue where the client side is not in sync with the actual auth state.

If you are in the convex server you can read here - but curious if anyone else has run into this or if I should just ignore this edge case?

Server components protecting page using clerks auth function - redirect if already logged in. If a user has two tabs open, where both are initially on the sign in page, for example, and one tab logs in - when we switch to the other I'd expect to be redirected and logged in. That does not happen right now and I am not sure how to fix the client provider state for auth being out of sync?

support-communityAuthenticated Wrapper Component Not Updating
Was this page helpful?