When enabling Atlassian Cloud API integration, this error appears:
Error authenticating: Forbidden. Errors reported by remote server:
- Atlassian Cloud
- Provisioning
This error is generated by Atlassian Cloud because the API token used in the Application API integration is invalid. Authentication error: Forbidden means 403 error while trying to authenticate to the Atlassian Cloud server using the provided Base URL and API token.
The following steps are based on the Atlassian documentation. If this article is no longer relevant, please check with Atlassian.
How to generate a new API token in the Atlassian organization:
-
Go to admin.atlassian.com.
-
Select the organization if there is more than one.
-
Select Security > Identity providers.
-
Select the Identity provider directory.
-
Select Set up user provisioning.
-
Copy the values for the SCIM base URL and API key. They will be needed when configuring Okta. Store these values in a safe place, as they will not be visible again.
-
Save the SCIM configuration.
-
Go to Okta Admin Console and navigate to Applications > Atlassian Cloud > Provisioning > Integration > click Edit button.
-
Enter the SCIM base URL and API key created in the Atlassian organization in step 1.
-
Click Test API Credentials.
-
A message confirming successful authentication will be received. Click Save.
If the issue still persists, please contact Atlassian support for more details and steps on how to resolve this error.
