-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
permission denied for http://example.com/rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}
#11
Comments
Yes we have this same issue. I have confirmed that this REST API works with basic authentication. We have given full access to the token authenticator plugin.
|
I have further found that the PUT and DELETE requests for the above GET commands also fail with the token auth and succeeds with the basic auth.
|
This has been resolved with the PR merged in December 2016. This should be closed. |
@njalerikson which version of plugin has the fix for above issue? |
@jerinmathew82 looking at the release dates (https://marketplace.atlassian.com/plugins/com.thundermoose.plugins.stash-token-auth/versions) it would seem that v2.1 likely has it |
@njalerikson I have V2.2 and I was trying to create/delete a branch (using REST API call) for one of the repo in bitbucket using Token Authentication, it worked fine when I tried from Postman. But getting “(401) Unauthorized” error when I tried from PowerShell ISE. Other REST calls like List all branches, Create a Pull Request, Merge Branches etc worked fine from PowerShell ISE. Did you/anyone faced or aware of any permission issue from PowerShell ISE? |
When trying to access
http://example.com/rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}
, the following error is hit:The text was updated successfully, but these errors were encountered: