OneRoster Interface

Starting with Relution 26.2, the OneRoster interface is implemented in the portal for users. This interface allows the synchronization of users and classes, for example, from Untis or WebUntis, with Relution. The feature can be found under Settings → User Management → OneRoster.

Currently, Untis/WebUntis only supports one organization/tenant in Relution. Therefore, it is recommended to integrate the OneRoster interface directly into the target tenant. Alternatively, the interface can also be integrated into the global organization, where schools can be mapped via IDs. However, this requires support from the user management application.

Setting Up the OneRoster Interface

A new connection is created in the overview Settings → User Management → OneRoster via Add.

General Settings

  1. Provider name: Unique name for the connection. The name must not be used by any other provider configuration and cannot be changed after saving.
  2. Enabled: This switch turns the interface on. For a new connection, it is turned off; as long as it is disabled, no synchronization takes place.
  3. Host: URL of the OneRoster server.

General settings of the OneRoster interface with provider name, enabled toggle, and host URL

Authorization Parameters

  • Token URL: URL for token authentication.
  • Client ID: Client ID for authentication.
  • Password: The corresponding client secret. For a saved connection, the field shows *****; if it is left empty, the stored password remains in effect. If Host or Token URL is changed, the password must be entered again, otherwise Relution rejects the connection test and saving.

The Test connection button tests the connection to the OneRoster server as soon as all required fields are filled in.

Authorization parameters with token URL, client ID, and password, plus OneRoster organization selection and sync preview


Select Organizations

  • In a tenant, the OneRoster organizations to be synchronized are selected in the Authorization Parameters section via Add next to Select OneRoster organisations. The button becomes active as soon as all required fields are filled in.
  • In the global organization or a meta organization, the Organization mappings section is shown instead. There, OneRoster organizations are mapped to the individual Relution organizations.
  • Preview sync shows the classes to be synchronized, together with their teachers and students, beforehand. The preview is available as soon as at least one organization is selected or mapped.

Without a selected OneRoster organization, the synchronization fails.


Synchronization Settings

  • Synchronize classes: Imports classes from OneRoster. The option is enabled by default.
  • Action for missing users: Defines what happens to previously synchronized users that are no longer returned by the OneRoster server: None (default), Deactivate or Delete. This setting always applies, even if Synchronize classes is disabled.
  • Action for missing classes: Defines what happens to previously synchronized classes that no longer exist in OneRoster: None (default) or Delete. This setting only applies if Synchronize classes is enabled.

If a synchronization run returns no users or no classes at all, Relution does not execute the respective action. This prevents all objects from being deactivated or deleted in case of a connection or configuration error.

Synchronized users are automatically assigned to the organization’s system group <ORGANIZATION> Teacher or <ORGANIZATION> Student and to a group of the provider. As login name, Relution uses the username from OneRoster, alternatively the email address or an identifier from OneRoster.

Automatic Synchronization

Automatic synchronization is defined using cron syntax. By default, it runs daily at 5:00 and 20:00.

  • Minutes: Minute at which the synchronization runs.
  • Hours: Hour of the synchronization.
  • Days of month, Months, Days of week: Further restrictions of the synchronization interval.

Synchronization settings with synchronize classes, actions for missing users/classes, and cron expression for automatic synchronization


Checking Synchronization

Once the connection has been saved, it can be opened in the overview. The detail view lists the sync results separately for users and classes: it shows when the next planned synchronization is due and when the last one was completed, whether the synchronization was successful, the Status message and the number of synced, missing and failed objects. Clicking the number under Sync Errors shows the individual errors and thus their cause.

In the header of the detail view, the Sync icon triggers a manual sync run at any time (requires the permission to update users or classes). Edit and Delete are also available there.

Most synchronization errors occur due to missing users in a class. Relution requires at least one student and one teacher to create a class. In addition, users are skipped during synchronization if their username is already taken in the organization, their email address is already taken in Relution, or they have no email address.

How helpful was this article?