Setup user authentication with an external identity provider

Setup user authentication with an external identity provider

To verify a user’s identity, a user must be authenticated. Relatics has built-in authentication using email and password protection. This can be enhanced with multifactor authentication.

Relatics supports the OpenID Connect standard, which can be used as an alternative for user authentication (IdP). As a result, the authentication is managed centrally within the organization. The following information is needed to set up the identity provider connection:

  • Client ID
  • Client secret
  • Discovery URL

After the creation of the identity provider in Relatics, the Redirect URL is provided.

Configure an identity provider in the Relatics environment*

  1. In the overview with workspaces, click on Environment administration.
  2. In the view Environment administration, click Security, then Identity providers.
  3. In the view Identity providers, click on Create add new - Relatics icon New identity provider. This opens a dialog wherein the identity provider can be configured.
  4. For the field Name, give the identity provider a relevant name.
  5. For the field Client ID, provide the Client-id supplied by the identity provider administrator.
  6. For the field Client secret, provide the Client secret supplied by the identity provider administrator.
  7. For the field Discovery URL, provide the discovery URL supplied by the identity provider administrator.
  8. Click Create. The part in Relatics for the connection to the identity provider is configured.
  9. Copy the Redirect URL and send this to the identity provider administrator to complete the connection.

Note:

  • To prevent users from being unable to login, test the setup with one account before switching users.

Switch user authentication between identity providers*

Users are assigned to one authentication source. It is possible to switch a user to another authentication source.

Switching authentication from the perspective of a user:

  1. In the overview with workspaces, click on Environment administration.
  2. In the view Environment administration, click on the menu  Users.
  3. Click on the desired user. As a result, the detailed settings of the corresponding user are shown.
  4. In the table User, click on  Edit. This opens a dialog where you can configure the user information.
  5. For the field Identity provider, select the desired authentication source.
  6. Click Update.

Switching authentication from the perspective of an identity provider:

  1. In the overview with workspaces, click on Environment administration.
  2. In the view Environment administration, click Security, then Identity providers.
  3. In the view Identity provider, click the identity provider that the users currently authenticate at.
  4. In the table Users, tick the users you want to set to a different identity provider.
  5. Above the table, click the button Edit identity provider. This opens the dialog Edit identity provider for selected users.
  6. In the dialog Edit identity provider for selected users, select the preferred identity provider.
  7. Click Update.

Note:

  • If authentication via an external identity provider gets the error “Wrong Email or Password,” make sure that the email address configured in Relatics is the same as the users email address configured under Contact information in the IdP.
  • It is advised to have one Relatics authenticate administrator for situations where no identity provider can be reached.
* In the environment, the user must have an Environment user type of Administrator.