-
Type:
Suggestion
-
Resolution: Unresolved
-
Component/s: API Framework - Authentication
-
None
Issue Summary
Forge apps using api.asApp().requestBitbucket() can't call Bitbucket's permission management endpoints.
This affects the following endpoints:
- /repositories/{workspace}/{repo_slug}/permissions-config/groups/{group_slug}
- /repositories/{workspace}/{repo_slug}/permissions-config/users/{selected_user_id}
- /workspaces/{workspace}/projects/{project_key}/permissions-config/groups/{group_slug}
- /workspaces/{workspace}/projects/{project_key}/permissions-config/users/{selected_user_id}
Expected Results
Bit bucket should accept calls from Forge asApp on permission management endpoints.
Actual Results
The API returns:
"This API is only accessible with the following authentication types: apppassword, session, api_token"
Workaround
You can maintain a token and use it as an API call in Egress, but it breaks the Runs on Atlassian eligibility