Skip to content

Shibboleth

frentix customers

The integration of Shibboleth is part of the server configuration. For frentix customers, their customer advisor at frentix takes care of the change.

Universities that belong to a Shibboleth federation check the login of their members themselves. A federation is an association of universities that recognise these logins mutually, for example the federation of SWITCH in Switzerland. With Shibboleth, these people log in to OpenOlat with the account of their home university. OpenOlat receives no password, only the attributes that the university releases, for example name, e-mail address and field of study. You manage no passwords in OpenOlat, and new members of the university receive their account at the first login.

If Shibboleth is switched on, system administrators find the page "Shibboleth authorization" in the system administration under:
Administration > Login > Shibboleth

What the server configuration defines

The server configuration is the configuration file of the installation, the page in the administration calls it the "OpenOlat configuration file". This file is maintained by the body that operates OpenOlat. The basic configuration is there: the connection to the federation, which attributes OpenOlat takes over into which profile fields and to which organisation new accounts are assigned. The page in the administration points this out with the sentence "The basic Shibboleth configuration must be done in the OpenOlat configuration file."

A change to the basic configuration applies only from the next restart. Without Shibboleth switched on, the entry "Shibboleth" is missing from the menu Administration > Login.

Depending on the server configuration, the login page shows a selection of the university for Shibboleth, or a simple login form that forwards to the login at the university. The selection comes from SWITCH and lists the universities of the federation. The body that operates OpenOlat can hide individual ones in the server configuration or add universities of other federations. The page in the administration is the same in both cases.

The image shows as an example the selection of the university on the login page of an installation with customised texts. The labels of your login page can differ from it.

Framed, the selection of the university with selection field and button Login, below it the login with an OpenOlat account and via identity providers

To the top of the page ^

First login

When a person logs in via Shibboleth for the first time, OpenOlat guides them through a registration and creates their account. At every further login, OpenOlat matches the profile with the released attributes. If the account is inactive, OpenOlat reactivates it automatically at login, see Deactivation and reactivation.

Administrators see whether a single account logs in via Shibboleth in the "Authentications" tab of the account:
User management > "Account of the person" > Tab "Authentications"
More on this under Manage user settings.

To the top of the page ^

Attribute access control

Not every person who can log in at their university should use OpenOlat. With "Activate attribute access control", you only let in people whose attributes carry an allowed value, for example only members of a certain university or field of study.

If "Activate attribute access control" is switched on, fields for up to two attributes appear:

  • Shibboleth attribute 1: the name of the attribute that OpenOlat checks, as the integration of your installation passes it to OpenOlat.
  • Allowed values for attribute 1: the allowed values, separated by line break, comma or semicolon. Upper and lower case do not matter.
  • Shibboleth attribute 2 and Allowed values for attribute 2: a second attribute with its values, following the same pattern.

With "Save", you apply the details. A person gets access if one of the two attributes carries one of the allowed values. OpenOlat compares the whole value that the integration passes for the attribute with each allowed value. To everyone else, OpenOlat shows the message "You are not authorized to log in to OpenOlat." OpenOlat checks the attributes at every login via Shibboleth, also for people who already have an account.

Which attributes a university can deliver is defined by the federation. At SWITCH, the federation is called "Switch edu-ID Federation", but the login via Shibboleth runs with the account of the university there as well, see Shibboleth and Switch edu-ID. SWITCH describes the attributes of the federation in the Switch edu-ID Attribute Specification. For an access restriction, these two attributes are suitable, for example:

  • swissEduPersonHomeOrganization: the domain of the home organisation of the person, for example ethz.ch. With it, you only let in members of certain universities.
  • eduPersonAffiliation: the type of affiliation, for example student, staff or faculty. With it, you let in, for example, only people with the value student.

The field "Shibboleth attribute 1" holds the name under which the integration of your installation passes the attribute to OpenOlat. It can differ from the name in the federation, for example "Shib-SwissEP-HomeOrganization" instead of swissEduPersonHomeOrganization. You get the exact name from the body that operates OpenOlat.

To the top of the page ^

If the login via Shibboleth should start directly from the website of your university, place the "Direct link for SSO access" there. SSO (single sign-on) means: the person logs in once at their university and is thereby also logged in to OpenOlat. The page shows this address, it ends with /shib/, for example https://your.openolat.domain/shib/. It leads to the login via Shibboleth without a detour via the login page of OpenOlat.

To the top of the page ^

Shibboleth and Switch edu-ID

Switch edu-ID is a personal account at SWITCH that stays with a person even after a change of university. With Shibboleth, by contrast, the person logs in with the account of their university. The federation of SWITCH is named "Switch edu-ID Federation", but the login via Shibboleth runs with the account of the university. You connect Switch edu-ID as a cloud login, not via Shibboleth, see Cloud login: Switch edu-ID. Shibboleth and Switch edu-ID can be switched on side by side.

To the top of the page ^

Further information

Mentioned on this page
Automatic User Lifecycle >
Manage user settings >
Switch edu-ID Attribute Specification >
Cloud login >

Further reading
Login: Overview >
LDAP >
Login Page >

To the top of the page ^