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

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}]}

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events