SCIM user provisioning

Learn how to enable automated user provisioning

Bunny supports the SCIM protocol for user provisioning. When enabled, SCIM allows your identity provider to create or delete user profiles in Bunny. This greatly simplifies the user onboarding and offboarding process for your administrators so we recommend its enabled if possible.

Step 1 - Create an API client

In order to enable SCIM user provisioning we must first create an API client in Bunny with the appropriate permissions assigned.

  1. In your Bunny account select the Other > API Clients option from the top navigation menu.

  2. Click to add a New API Client.

  3. Give it a name like "SCIM client"

  4. Set a long access token expiry like "63072000" seconds

  5. Enable Authorization Code Grant

  6. Set a Redirect URI for the identity providers SCIM provisioning service. For Onelogin use https://admin.us.onelogin.com/provisioning/oauth_redirect_uri

  7. Click save and take note of the Client ID and Client Secret that are revealed.

Step 2 - Enable provisioning in the identity provider

The next step is to configure the identity provider with Bunnys SCIM endpoint details.

On the admin panel in OneLogin select the Bunny app that you created as part of the SAML configuration.

Then, on the Configuration tab for the app enter the following values.

OAuth2.0 Authorization URI

Client ID

Your Bunny API client ID

Client Secret

Your Bunny API client secret

Scope

security:read security:write

Then click Save and scroll to the bottom of the Configuration tab where you will find a button to Authenticate.

Clicking the Authenticate button will display a link that will take you to Bunny to Approve the connection to OneLogin.

After clicking Approve you will be redirected back to OneLogin.

The final step is to select the Provisioning tab, check the box to Enable Provisioning and then click Save.

Step 3 - Test user provisioning

Provisioning is now enabled for this application. If you add or remove users to the Bunny app in the identity provider they will be added or suspended in Bunny.

Last updated

Was this helpful?