> ## Documentation Index
> Fetch the complete documentation index at: https://docs.major.build/llms.txt
> Use this file to discover all available pages before exploring further.

# Authentication (AuthN)

> Identify the current user in your Major app.

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.
