@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.Overview
Authentication (AuthN)
Identify the current user in your Major app.
Major exposes the logged-in user’s identity through a single import —