This is documentation for the next version of Grafana. For the latest stable release, go to the latest version.
Configure SCIM with Okta
Note
Available in Grafana Enterprise and Grafana Cloud Advanced.
This guide explains how to configure SCIM provisioning with Okta to automate user and team management in Grafana.
Note
This feature is behind the
enableSCIM
feature toggle. You can enable feature toggles through configuration file or environment variables.For more information, refer to the feature toggles documentation.
Prerequisites
Before configuring SCIM with Okta, ensure you have:
- Grafana Enterprise or Grafana Cloud Advanced
- Admin access to both Grafana and Okta
- SAML authentication configured with Okta
- SCIM feature enabled in Grafana
Configure SCIM in Grafana
To enable SCIM provisioning in Grafana, create a service account and generate an access token that will be used to authenticate SCIM requests from Okta.
Create a service account
- Navigate to Administration > User Access > Service accounts
- Click Add new service account
- Create a new access token and save it securely
- This token will be used in the Okta configuration
Configure SCIM in Okta
Configure both SAML authentication and SCIM provisioning in Okta to enable automated user and team synchronization with Grafana. Start by creating a SAML application, then enable and configure SCIM provisioning for that application.
Enable SCIM provisioning
- Navigate to the General tab of your SAML App Integration in Okta
- Enable SCIM provisioning
- A new provisioning tab will appear
Configure provisioning settings
In the To App tab, enable:
- Create Users
- Update User Attributes
- Deactivate Users
Configure SCIM integration
In the Integration tab, configure:
- SCIM Connector base URL:
https://{resource_name}/apis/scim.grafana.app/v0alpha1/namespaces/stacks-{stack-id}
- Unique identifier field: userName
- Supported provisioning actions:
- Import New Users and Profile Updates
- Push New Users
- Push Profile Updates
Test the integration
After completing the configuration:
- Test the SCIM connector in Okta
- Assign a test user to the application
- Verify the user is provisioned in Grafana
Troubleshooting
For common issues and solutions when working with SCIM provisioning, refer to the SCIM troubleshooting guide.