Skip to main content
Major exposes the logged-in user’s identity through a single import — @lib/auth.ts. This is strictly authentication (AuthN): confirming who the user is. Authorization — deciding what they can do — is your app’s responsibility. This allows builders to build authn directly into their Major Apps.