Adding a Custom Scope to SCIM OAuth Flow in Okta
Last Updated:
Overview
This article explains how to include a custom scope when configuring the System for Cross-domain Identity Management (SCIM) protocol with an OAuth 2.0 flow when required by the downstream SCIM application.
Applies To
- OAuth2
- System for Cross-domain Identity Management (SCIM)
- Provisioning
- Okta Classic Engine
- Okta Identity Engine (OIE)
Solution
Adding custom scopes is supported when configuring the SCIM connection using an OAuth 2.0 flow. As two different OAuth 2.0 Grant Types are available for SCIM, make sure to follow the instructions for the Grant Type supported by the integration.
Authorization Code
Add each scope to the authorize URL as a query parameter, separated by a space.
/authorize?scope=customscope1 customscope2
Client Credentials
Add each scope to the token URL as a query parameter, separated by a space.
/token?scope=customscope1 customscope2
