Skip to content

Auth Policy

Auth Policy controls how users authenticate and register for a specific application. Each application has its own independent policy. Changes take effect immediately — no restart required.

Controls which authentication methods are available for this application. Only providers that are configured globally (via .env) can be enabled.

Options: email, google, apple, github

If none are selected, all configured providers are allowed.

Controls how users can create accounts in this application.

PolicyBehavior
openAnyone can register. No restrictions.
invite_onlyUsers must have a valid invitation to register.
admin_approvalRegistration is accepted but the user is placed in pending_approval state. An admin must approve the membership before the user can sign in.
auto_on_first_accessMembership is created automatically when the user first accesses the application (e.g., via SSO).
FieldDescription
Allowed DomainsOnly email addresses from these domains can register. Empty = all domains allowed.
Blocked DomainsEmail addresses from these domains cannot register.
FieldDefaultDescription
Min Length8Minimum password length
Require UppercasefalseRequire at least one uppercase letter
Require SymbolfalseRequire at least one symbol
Expiry DaysnullPassword expiration period (null = never expires)
FieldDefaultDescription
TTL Hours168 (7 days)How long a session lasts
Max ConcurrentnullMaximum simultaneous sessions per user
Idle TimeoutnullSession expires after this period of inactivity
FieldDefaultDescription
Require Email VerificationfalseRequire email verification before allowing signin
Required Profile Fields[]Fields the user must provide during registration
allowed_providers: [email, google]
signup_policy: open
allowed_email_domains: [] (all domains)
allowed_providers: [email, google]
signup_policy: admin_approval
allowed_email_domains: [company.com]
allowed_providers: [email, google]
signup_policy: invite_only

Suite member (auto-provisioned on first access)

Section titled “Suite member (auto-provisioned on first access)”
allowed_providers: [email, google]
signup_policy: auto_on_first_access