mchisolm0M
Convex Community3mo ago
33 replies
mchisolm0

WorkOS/Convex `Authenticated` component not working

🔑Auth
I have followed the two tutorials https://docs.convex.dev/auth/authkit/ and https://www.convex.dev/components/workos-authkit to get WorkOS and Convex working together. Sign in/Sign out works, and I confirmed Convex is getting the new user object in the WorkOS Authkit data for the component.

However, the page loads and shows the content in the
<Unauthenticated>
component rather than the
<Authenticated>
component, despite having a valid signed in user. Why is this?
Integrate WorkOS AuthKit authentication with Convex
Convex & WorkOS AuthKit | Convex Developer Hub
Convex
Integrate with AuthKit events and actions, and keep auth data synced in your Convex database.
WorkOS AuthKit
Was this page helpful?