<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
Github Enterprise Cloud Provisioning Error: "Organization failed: The credentials used to connect to the API were invalid"
Single Sign-On
Okta Classic Engine
Okta Identity Engine
Overview

This article explains why automatic provisioning to GitHub Enterprise Cloud Organization fails and displays an error regarding invalid API credentials.

 

An error occurred while assigning this app.

Automatic provisioning of user XYZ to app Github Enterprise Cloud - Organization failed: The credentials used to connect to the API were invalid; please check your configuration.

 

Applies To
  • GitHub Enterprise Cloud
  • Provisioning
  • Single Sign-On (SSO)
Cause

The credentials used by Okta to connect to the GitHub Enterprise Cloud application's Application Programming Interface (API) are no longer valid. This can occur if:

  • The password for the administrator (admin) account used in the API integration has expired or was changed and not updated in Okta.
  • The username for the admin account was changed.
  • The admin account was disabled or deleted. 
  • The authentication token or credentials used by Okta to connect to the application have expired or been revoked.
Solution

Re-authenticate the application within Okta to update the credentials or token. This allows the provisioning process to resume successfully.

  1. Navigate to Application Provisioning Settings.
  2. From the application's main interface, access the Provisioning section.
  3. 2. Select Integration Options.
  4. Within the Provisioning page, choose the "Integration" settings.
  5. 3. Initiate Re-authentication by clicking on the Edit option, and then select Re-authenticate.
  6. 4. Utilize Dedicated Service Account.
  7. Ensure the designated service account, specifically created for GitHub, is used for this process.
Loading
Github Enterprise Cloud Provisioning Error: "Organization failed: The credentials used to connect to the API were invalid"