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
- GitHub Enterprise Managed User
- Provisioning
- Error
This error appears when the API token used in Application API integration is invalid.
- Generate a valid personal access token on the GitHub side:
- As a GitHub Enterprise Managed enterprise owner, navigate to the upper-right corner > click on the profile photo > and then click on Settings.
- In the left sidebar, click Developer settings.
- 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.
- Click Generate new token.
- Select the admin:enterprise scope for this token.
- Click Generate Token.
- 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.
- Go to Okta Admin Console and navigate to Applications > Applications > GitHub Enterprise Managed User > Provisioning > Integration > Edit.
- Enter the correct API token generated in Step 1 and click Test API Credentials.
- There should be a message confirming successful authentication. Click Save.
