Okta GitHub Enterprise Cloud Organization Provisioning Fails with an Unauthorized Error
Last Updated:
Overview
When provisioning users to GitHub Enterprise Cloud Organization, the flow fails with an unauthorized error. This occurs because the GitHub administrator credentials used to create the API connection are invalid, or the authentication token has expired. Resolve this issue by reauthenticating the API connection in the Okta Admin Console and retrying the failed tasks.
Automatic provisioning of user <username> to app GitHub Enterprise Cloud Organization failed: Error while verifying if user <username> exists: Unauthorized. Errors reported by remote server:
Applies To
- Okta Identity Engine (OIE)
- Okta Classic Engine
- GitHub Enterprise Cloud Organization
- Provisioning
Cause
The unauthorized error occurs because the GitHub administrator credentials used to create the API connection are invalid or the authentication token is invalid.
Solution
How is the unauthorized GitHub Enterprise Cloud Organization provisioning error resolved?
Resolve the unauthorized provisioning error by reauthenticating the API connection in the Okta Admin Console and retrying the failed tasks.
- Navigate to Applications > Applications in the Okta Admin Console.
- Select the GitHub Enterprise Cloud - Organization application.
- Select the Provisioning tab and choose Integration in the Settings list.
- Select Edit.
- Select Reauthenticate with Github Enterprise Cloud - Organization to generate a token.
- Verify that a message appears confirming the successful authentication.
- Select Save.
- Navigate to Dashboard > Tasks to view the failed assignments.
- Locate the failed task for the user and select Retry Selected.
