- An Okta admin account with rights to manage Applications and assign users.
- An existing GitHub organization where you have owner permissions.
- A GitHub application configured in Okta for your organization.
- Verify users exist in Okta Confirm the users you want to provision (for example, Dev1 and Dev2) exist in your Okta People directory. They do not need prior GitHub access if you plan to provision them via SCIM.

- Open the GitHub app integration in Okta In the Okta Admin Console, open the GitHub application you created. From the app settings, navigate to the Provisioning tab.

- Enable API Integration and authenticate with GitHub Under Provisioning → Configure API Integration, enable API Integration. Okta will prompt you to authenticate against GitHub Enterprise Cloud to obtain an OAuth token that authorizes Okta to manage users for your organization.

- If you receive a “forbidden” or similar error, review your GitHub organization’s third‑party application access policy and security settings. Organization-level restrictions (such as requiring 2FA or blocking third‑party apps) can prevent Okta from obtaining the OAuth token.
- Confirm your account is an organization owner or has sufficient permissions to approve third‑party app access.


- Save and enable provisioning actions After successful OAuth authorization, save the provisioning configuration in Okta. Then choose which provisioning actions to enable. We recommend enabling all three lifecycle actions so Okta can fully manage GitHub accounts:
Enabling these options ensures Okta can provision new users, update their attributes, and deprovision them automatically.
- Assign the GitHub app to Okta users (provision users) Assign the GitHub application to the Okta users you want to provision (e.g., Dev1 and Dev2). Assignments trigger Okta to create invitations or link existing GitHub accounts via SCIM.



- Demonstrate deprovisioning (automated removal) One of the primary benefits of SCIM is automated deprovisioning. To test this, unassign a user (for example, Dev1) from the GitHub app in Okta. Okta will process the unassignment and SCIM will remove or deactivate the corresponding GitHub organization membership.

SCIM automates provisioning, attribute updates, and deprovisioning via API. SAML alone provides single sign-on (authentication) but does not automate account lifecycle management. To ensure users are removed from GitHub when they leave your identity provider, enable SCIM provisioning.
- OAuth denied/forbidden: Verify organization-level third‑party app policy and approve the Okta SCIM app.
- Invitations not delivered: Check user email addresses in Okta and GitHub; ensure Okta sends the invite to the correct email.
- Attributes not syncing: Confirm attribute mappings in Okta Provisioning settings.
- Deprovisioning not taking effect: Ensure “Deactivate users” is enabled in Okta and SCIM provisioning is active for the app.
- GitHub: Automating user management with SCIM — https://docs.github.com/en/enterprise-cloud@latest/organizations/automating-user-management-with-scim
- Okta: Product and admin documentation — https://www.okta.com/
- OAuth 2.0 overview — https://oauth.net/2/