The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to call REST API using token authentication

Deleted user
August 12, 2016

Unable to access any API using token:

{"errors":[{"context":null,"message":"You are not permitted to access this resource","exceptionName":"com.atlassian.stash.exception.AuthorisationException"}]}

 

Stash Version: 3.7.1

Token Authentication version: 1.7

Token Authenticator plugin is enabled.

System-wide enable for token-based authentication: Enabled

All paths: enabled

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Deleted user
August 12, 2016

BTW, I have confirmed that the authentication is correctly resolving the token.  If I send an invalid token, I get a completely different response indicating authentication failure as opposed to a permissions issue when using the correct token.

 

{"errors":[{"context":null,"message":"Authentication failed. Please check your credentials and try again.","exceptionName":null}]}

 

TAGS
AUG Leaders

Atlassian Community Events