Okta integration: Set up role assignments

Overview

This document will walk through setting up a roles attribute on the Ramp user profile in Okta that will sync over to Ramp user roles via your existing SCIM integration. For help with initial SCIM setup, visit this article.

Note: Role assignments from Okta are currently only supported for businesses with access to the full Ramp suite, including card issuing. Other Okta SCIM features are still fully available.

How it works

Roles will be applied to users upon creation or update and will behave similarly to those manually updated in the Ramp application. If a user’s role cannot be updated successfully, an error will be displayed in the Ramp People tab.

To begin, click into Profile Editor under Directory in the Okta sidebar menu.

Okta sidebar with Directory expanded and Profile Editor selected

Click into your Ramp application user profile (the name depends on your initial configuration of Ramp).

Okta Profile Editor showing the Ramp User application profile

Click Add Attribute to create a new attribute for role assignments.

Ramp User Profile Editor with Add Attribute button highlighted

You'll need to configure the following settings (a screenshot is attached to the end of this document):

In the Attribute enum section, configure the following roles:

Display nameValue
OwnerBUSINESS_OWNER
AdminBUSINESS_ADMIN
CardholderBUSINESS_USER
AccountingBUSINESS_BOOKKEEPER
GuestGUEST_USER
IT AdminIT_ADMIN

We recommend leaving the role attribute as optional. When no role value is specified, Ramp will either:

To assign roles to users, navigate to the Profile Mappings section of your application. Here you can create rules to automatically assign roles based on:

Once configured, users provisioned to Ramp will receive their designated roles based on your mapping rules. Users should appear in Ramp's People with their updated roles within approximately 10 minutes of provisioning

More documentation on setting up custom role attributes in Okta can be found at this link.

Please note the following:

  1. Cardholder includes both users and managers. Manager users should be assigned the BUSINESS_USER role.
  2. The GUEST_USER role can only be assigned during initial user creation. Consider using group-based assignments to ensure users who need the Guest role receive it during their initial provisioning.

Okta Add Attribute form with role enum values configured for Ramp roles

Recommended Okta Role attribute setup.