Requirements
Before you attach OneLogin as your directory, you must:- Create a OneLogin app in Opal. The Manage All API credential from that guide is what the directory sync uses.
- Be an Opal Admin.
Connect OneLogin as your directory
- In Opal, go to Configuration > Settings.
- In Identities, select Upstream Directory.
- Select the OneLogin app, then Connect.
User status
Opal reads every OneLogin user, including people who cannot sign in yet. Only a suspended user is deprovisioned. The other statuses are invitations or temporary sign-in states, and dropping them would look like the person left.
A suspended user is how OneLogin offboards someone, and it is what Opal does when it suspends a OneLogin user. When OneLogin reports Suspended, Opal sets the user to Deprovisioned and applies your deprovisioning settings.
A status OneLogin does not list stays Active. Opal records a warning rather than treating that person as gone.
Attributes
Opal matches OneLogin users to Opal users by email.
OneLogin sends the manager as another user’s id. When that person is in the same sync and has an email, Opal sets them as the manager. An explicit empty manager clears the manager in Opal. If OneLogin omits the manager, or Opal cannot match them to an email, Opal keeps the manager it already has.
Department is not applied on its own. Map it, or any other field below, if you want it stored on the user.
Import additional attributes
On the OneLogin directory, select Importing custom user attributes. OneLogin can import:
A custom field is namespaced, so a custom field named
title does not overwrite the standard title. Opal asks OneLogin for custom fields only when a mapping starts with custom_attributes.. Leave a sensitive field unmapped and Opal does not request it. The OneLogin app sync never requests custom fields.
Opal does not suggest these keys as you type. Enter the key exactly as it appears above. Changes apply on the next user sync.
What the directory sync does not do
- Write a name, title, manager, or status back to OneLogin. Create, suspend, and role changes still go through the OneLogin app.
- Create or update a person who has no valid email.
- Import a custom user field you have not mapped.
- Read MFA devices.