TheDocumentation Index
Fetch the complete documentation index at: https://confect.dev/llms.txt
Use this file to discover all available pages before exploring further.
Auth service provides access to the current userβs identity. Unlike vanilla Convex (which returns UserIdentity | null), the Confect Auth service returns an Effect that fails with a typed error when no user is authenticated.
Getting the user identity
getUserIdentity succeeds with the userβs UserIdentity or fails with NoUserIdentityFoundError.
Handling unauthenticated requests
UseEffect.catchTag to handle the case where no user is logged in.
Configuration
Auth provider configuration goes inconfect/auth.ts, which is passed through to Convex as-is. See the Convex auth documentation for setup details.