Skip to content

Password and Authentication

System administrators define here how account holders log in to OpenOlat, which rules a password must meet and when it has to be changed. The settings are located in the system administration under:
Administration > Login > Password and authentication

Tab "Authentication"

In the "Authentication" tab you determine how the login page offers the OpenOlat login and with which second factor account holders additionally identify themselves. The tab is divided into the sections "Configuration", "One time code" and "Security levels / Passkey". Every change in this tab takes effect immediately, there is no button for saving.

OpenOlat Login as input field, one time code off, passkey on, level 1 for all roles except user managers with level 2

Configuration

OpenOlat Login

With the options "As input field" and "As login button" you define how the login page displays the OpenOlat login. With "As login button", the login page shows a button instead of the input field for the username, which opens the input field.

Purpose:
If the primary login method is not the OpenOlat login, then the input field for the OpenOlat login should often not be displayed directly and prominently. An input field invites input, and users immediately enter their (incorrect) login name instead of considering the other login methods.
With a button next to other buttons (other login methods), the decision for a specific login method is more considered.

Input field for the user name compared with a button instead of the input field

One time code

Use one time code

With the "Use one time code" option, you activate an additional second security level by e-mail. After entering their username and password, account holders receive an 8-digit confirmation code by e-mail and complete the login with this code on a validation page.

Without an active passkey, the one time code is the second security level for all local logins. If Passkey is also activated, the one time code serves as a fallback for account holders without a stored passkey.

A valid e-mail address on the account and a functioning e-mail dispatch configured in OpenOlat are required so that the code can be delivered.

Security levels / Passkey

You protect accounts with far-reaching rights better if you require a higher security level for their role. OpenOlat has a three-stage security concept:
Level 1 - Password
Level 2 - Passkey
Level 3 - Password & Passkey (2FA)

How account holders change their security level is described on the page Security Levels.

Use security levels / Passkey

Switching on activates the option for level 2 and 3. Only then does the section show the settings "Increase security level independently" and "Required switch can be skipped", the menu "Set all roles at level…" and the table of roles.

Switching passkey off again

If account holders log in with a passkey only (level 2), OpenOlat shows the "Disable passkey" dialog when you switch off. It names the number of these accounts, and you confirm with the "Disable passkey" button. If there are no such accounts, OpenOlat switches off without a dialog.

After switching off, the login page asks for username and password. Accounts with level 2 have no password. The link "Forgot password?" does not give these persons a password either: the e-mail refers to the recovery keys and the support centre and contains no validation code.

This is how all account holders keep their access:

  1. In the table under Role, set the roles concerned to "Level 1 - Password".
  2. Leave the option "Users can increase the security level themselves" switched on, see Increase security level independently. Only then does OpenOlat show the button "Change security level" under Personal Menu > Password.
  3. Ask the persons with level 2 to switch to "Level 1 - Password" there. OpenOlat asks for a new password and then removes their passkeys.
  4. Switch passkey off. If the dialog still names accounts, clear them up first.

If a person with level 2 gets in touch after switching off, administrators or user managers help them in the user management in the "Password" tab in one of three ways, see Manage user settings:

  • Create login credentials: With "Create login credentials" you set a password. Pass it on to the person in a secure way. They change it after logging in under Personal Menu > Password.
  • Delete passkeys: In the "Passkeys" section, delete all passkeys of the person. Then send them a link with "Send invitation link to set login credentials", with which they set their password themselves.
  • Switch passkey on temporarily: The person logs in with their passkey or a recovery key and switches to "Level 1 - Password". You send them a recovery key with "Send recovery key". Then switch passkey off again.

Increase security level independently

With the "Users can increase the security level themselves" option, account holders can decide for themselves whether they want to switch to a higher security level. It is not possible to downgrade below the minimum level set by system administrators.

Required switch can be skipped

If a system administrator has increased the security level, the persons concerned will be asked to set up a passkey when they log in. This setting determines how often the persons concerned can skip this prompt: "Never", "5 times", "10 times" or "Unlimited".

Set all roles at level…

The menu sets all roles of the table to the selected level in one step: "Level 1 - Password", "Level 2 - Passkey" or "Level 3 - Password & Passkey (2FA)". You then adjust individual roles in the table.

Role

The table lists each role in a row and the three security levels as columns. The selected level defines the minimum requirement for the respective role.

Tab "Password syntax"

As a system administrator, you define here which criteria a password must fulfill. A minimum and maximum length must be defined. The rules apply as soon as you click "Save".

Minimum length 4 and maximum length 128, at least 1 letter and 1 digit or special sign, no forbidden values

Minimum length

Required field. The smallest number of characters a password must have.

Maximum length

Required field. The largest number of characters a password may have.

Letters

Defines how many letters a password must contain: "Permitted", "At least 1", "At least 2", "At least 3" or "Forbidden". With "Separat definition of uppercase and lowercase letters", the fields "Uppercase letters" and "Lowercase letters" appear with the same values.

Digits and special signs

Defines how many digits or special signs a password must contain, with the same values as for "Letters". With "Separat definition of digits and special signs", the fields "Digits" and "Special signs" appear.

Forbidden values

A password must not contain the ticked value: "Username", "Firstname of user" or "Lastname of user" of the account. Upper and lower case do not matter.

Prevent reuse of previous passwords

Defines from how many earlier passwords a new password must differ: "disabled" or "for 1 changes" up to "for 15 changes".

Preview

The button opens the "Validation of password syntax" dialog. There you check a sample password with "Validate" against the rules set in the form, also before saving.

Tab "Password change policies"

Here you define how often users have to change their password. The lifetime of the password can be defined for each role. Whether an earlier password can be reused is defined by the "Prevent reuse of previous passwords" field in the "Password syntax" tab.

The policy concerns the OpenOlat password. Accounts that also log in via LDAP, Shibboleth or a cloud login are exempt from it.

Validity period 30 minutes, password change on first login off, no period for a new password, also not per role

Password change validity period in minutes

Required field. Defines for how many minutes the confirmation code remains valid that OpenOlat sends by e-mail in the "Forgot password?" wizard.

Change password on first login

With "On", account holders must change a password that has never been changed since it was created when they log in.

Enforce new password after

The number of days after which all accounts must set a new password. An empty field requires no change. Below it you enter a separate period for individual roles, from "... for authors" to "... for system administrator". If an account has several roles, the shortest period entered applies.

Further information

Mentioned on this page
Security Levels >
Manage user settings >

Further reading
One Time Code >
Passkey >
Login: Overview >
Email Settings >

To the top of the page ^