Local authentication

Overview
Local authentication has a built-in user database with no external dependencies. You manage users in the UI, and it works with no setup.
User management
Add users
- Go to Settings > System > Auth > Local
- Click Add new User
- Enter the Username, the Password and the Confirmation
- Click Add new Role to add roles
- Select the System role:
userorsystem - Click Save
User properties
| Field | Description | Required |
|---|---|---|
| Username | Unique login identifier | Yes |
| Password | Initial password. For an existing user, the field is New password | Yes |
| Confirmation | The same password again | Yes |
| Roles | Roles that you assign to spaces to give permissions | No |
| System role | user or system. Default: user | Yes |
System role
The System role controls access to system-wide settings:
| Role | Description |
|---|---|
| user | Normal user, cannot access system settings |
| system | Can access and modify system settings. Gets Admin access to all spaces. |
System settings include authentication configuration, space configuration, backup settings, and other global options.
Most users must have the user role. At least one local user must have the system role: it is the way in when an
identity provider is down. LDAP, SAML and OIDC users can get the system role through
system groups.
In the Free edition, all local users are system users, and the Roles and System role fields do not show.
Password storage
Anaphora stores local passwords as salted scrypt hashes. A login attempt takes the same time whether the account exists or not.
Accounts from older versions keep working. The log can say that some local users "still carry the legacy sha512 password hash". Save their passwords again to store the new kind of hash.
Manage local users
Only system users manage local users. Users cannot change their own accounts. System users can change the password of existing users, add roles to them, and delete local users.
Deleting a user removes their access immediately. The jobs of the user stay.
When to use local auth
| Scenario | Recommendation |
|---|---|
| Small team (under 10 users) | Local auth is sufficient |
| Testing/development | Local auth for simplicity |
| No corporate IdP available | Local auth as primary method |
| Way in when the IdP is down | Keep one local system user |
| Enterprise environment | Consider LDAP, SAML, or OIDC |
| Compliance requirements | Use enterprise SSO |