When performing "Authenticate with Github Enterprise Cloud - Organization" for API integration, the following integration error occurs:
Error authenticating: Forbidden. Errors reported by remote server:
SAML SSO is enabled for Github Enterprise Cloud - Organization. Authentication is done using an account with admin privileges on the GitHub side. Okta has been authorized to connect to the GitHub account as shown below:
- Github Enterprise Cloud - Organization
- Provisioning
This error could be caused by the Authorized OAuth Application OKTA SCIM Integration not having access on the GitHub side.
- Log in to Github Enterprise Cloud - Organization as the administrator of the GitHub organization.
- Go to organization Settings > Applications > Authorized OAuth Apps. Click on the listed OKTA SCIM Integration application.
- The organizations on which the application was installed should be visible on the next page that loads. If there is an X next to these organizations, click the Grant button.
- Then go to Okta Admin Console and navigate to Applications > Github Enterprise Cloud - Organization > Provisioning > Integration > click the Edit button.
- Complete authentication with Github Enterprise Cloud - Organization to generate a token.
- A message confirming successful authentication will be seen. Click Save.
If the issue still persists, please contact GitHub support for more details and steps on how to resolve this error.
