Me_Broke
Me_Broke6d ago

<Authenticated> and useConvexAuth() not showing content even after successful login

I’m facing an issue where the <Authenticated> component does not render its children even though the user is successfully logged in with WorkOS and useConvexAuth returns false. Steps to reproduce: 1. Set up Convex auth with WorkOS (email OTP + Google OAuth). 2. Wrap my app in <ConvexProviderWithAuth> and use <Authenticated> / <Unauthenticated>. 3. Login flow completes successfully. Observed behavior: • After login, <Authenticated> still renders nothing. • <Unauthenticated> renders its content all the time. • useConvexAuth initially shows isAuthenticated = false for a few milliseconds, then updates to true. • Even after isAuthenticated becomes true, <Authenticated> never updates. Expected behavior: • <Authenticated> should render its children once the user is logged in. Debugging details: • Added debug logs inside ConvexProviderWithAuth → confirms isAuthenticated flips from false → true.
but not working with useConvexAuth and <Authenticated>
No description
No description
No description
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?