Skip to content
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

Request to add support for personal access token based authentication. #184

Open
riginoommen opened this issue Jul 28, 2023 · 1 comment

Comments

@riginoommen
Copy link

curl -v https://docs.example.com/rest/api/space/FOO -H "Authorization: Bearer token"
@pweissbrod-eh
Copy link

did that cURL command work for you? it did not for me. the personal access token does not seem to be of any standard bearer token format. attempts to use that command for me yielded the following error:

{"error": "Failed to parse Connect Session Auth Token"}% 

see the following url which suggests this is not the correct way to authenticate:

https://community.atlassian.com/t5/Jira-questions/How-to-deal-with-quot-Failed-to-parse-Connect-Session-Auth-Token/qaq-p/829057

what worked for me was to use basic authentication where my username was my email and the password was my PAT.
This actually works fine with the current plugin with no changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants