Authentication
Paquetier supports multiple authentication methods that can be used independently or combined.
Local Authentication
Username and password authentication is enabled by default. Users register with a username, email, and password (minimum 15 characters with at least one special character).
To disable local authentication (e.g. when using OAuth2 exclusively):
OAuth2 / SSO
Paquetier supports generic OAuth2 for single sign-on with any compatible identity provider.
Configuration
Set the following environment variables:
When OAuth2 is configured, a “Sign in with SSO” option appears on the login page.
Registration Control
By default, anyone can register a new account. To restrict registration (e.g. after setting up the admin account):
When registration is closed, only existing users can sign in. New users must be created by an admin or through OAuth2.
API Key Authentication
Users can create API keys for programmatic access.
API keys use the Authorization: Bearer paquetier_... header format and are valid for the API and CLI but not the web UI.
Session Duration
JWT sessions expire after 72 hours by default. To change this:
