OneLogin
Sync and manage PagerDuty users with OneLogin using SCIM user provisioning
Configure the SCIM Integration in OneLogin
- In OneLogin, navigate to Applications Add App to create an app.
- Search and select SCIM Provisioner with SAML (SCIM v2 Core).
- Enter a Display Name value for your SCIM test app that will help you recognize it.
- Click Save.
- Select the Configuration tab and enter the following:
- SCIM Base URL:
https://api.pagerduty.com/scim/v2 - SCIM Bearer Token:
token=<PagerDuty API KEY> - SCIM JSON Template:
- SCIM Base URL:
{
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:User"
],
"userName": "{$parameters.scimusername}",
"displayName": "{$user.display_name}",
"externalId": "{$parameters.externalId}", // Optional
"active": "{$user.status}", // Optional
"title": "{$parameters.title}", // Optional
"roles": [{"type": "base", "value": "{$parameters.role}"}], // Optional
"timezone": "{$parameters.timezone}", //Optional
"entitlements": [{"type": "base", "value": "{$parameters.license}"}], // Optional
}
Note
The
"roles","timezone"and"entitlements"mappings don't have basic mappings on the User object in OneLogin. You can achieve these mappings via custom User roles. You can find more explanation of this further down with the PagerDuty Role example. The process is creating a custom user role for the mapping, then creating a parameter in the SCIM application that maps the custom User attribute to the parameter used in this schema:"role", "license", "timezone".
- Click Save.
Configure Provisioning
- In the Provisioning tab under Applications, select the Enable provisioning option for the SCIM Provisioner with SAML.
- You can use Custom User Fields along with parameter mappings to set the PagerDuty Role via
role, the license viaentitlementsand the time zone viatimezonein the schema in the previous step.
Updated about 15 hours ago
