Skip to main content

Local authentication

Local authentication settings in the Anaphora Administration section
Local authentication is the default. It uses Anaphora's built-in user database. It suits small teams, testing environments, and deployments without an enterprise identity provider.

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​

  1. Go to Settings > System > Auth > Local
  2. Click Add new User
  3. Enter the Username, the Password and the Confirmation
  4. Click Add new Role to add roles
  5. Select the System role: user or system
  6. Click Save

User properties​

FieldDescriptionRequired
UsernameUnique login identifierYes
PasswordInitial password. For an existing user, the field is New passwordYes
ConfirmationThe same password againYes
RolesRoles that you assign to spaces to give permissionsNo
System roleuser or system. Default: userYes

System role​

The System role controls access to system-wide settings:

RoleDescription
userNormal user, cannot access system settings
systemCan access and modify system settings. Gets Admin access to all spaces.
note

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.

warning

Deleting a user removes their access immediately. The jobs of the user stay.

When to use local auth​

ScenarioRecommendation
Small team (under 10 users)Local auth is sufficient
Testing/developmentLocal auth for simplicity
No corporate IdP availableLocal auth as primary method
Way in when the IdP is downKeep one local system user
Enterprise environmentConsider LDAP, SAML, or OIDC
Compliance requirementsUse enterprise SSO

Next steps​

  • LDAP: connect to Active Directory
  • SAML: enable Single Sign-On
  • OIDC: use OpenID Connect providers