<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 Managed User API "Error authenticating: Forbidden. Errors reported by remote server"
Okta Integration Network
Overview

GitHub Enterprise Managed User Test API Credentials for GitHub Enterprise Managed User Application API integration, this integration error is seen:


Please review the form to correct the following error(s): Error authenticating: Forbidden. Errors reported by remote server

 

Applies To
  • GitHub Enterprise Managed User
  • Provisioning
  • Error
Cause

This error appears when the API token used in Application API integration is invalid.

Solution
  1. Generate a valid personal access token on the GitHub side:
  1. As a GitHub Enterprise Managed enterprise owner, navigate to the upper-right corner > click on the profile photo > and then click on Settings.
  2. In the left sidebar, click Developer settings.

Developer settings

  1. In the left sidebar, click Personal access tokens. Make sure to create the token while signed in as the setup user and that the token expiration is set to No expiration.

Personal access tokens

  1. Click Generate new token.

rtaImage (2).png

  1. Select the admin:enterprise scope for this token. 
  2. Click Generate Token.

Generate new token

  1. Copy and save the secret token. This value will be entered in the API Token field in the Provisioning tab of the GitHub Enterprise Managed User application in Okta.

 

  1. Go to Okta Admin Console and navigate to Applications > Applications > GitHub Enterprise Managed User > Provisioning > Integration > Edit.
  2. Enter the correct API token generated in Step 1 and click Test API Credentials.

Provisioning app

 

  1. There should be a message confirming successful authentication. Click Save.


Related References

Loading
GitHub Enterprise Managed User API "Error authenticating: Forbidden. Errors reported by remote server"