go-jira / jira

simple jira command line client in Go
Apache License 2.0
2.66k stars 323 forks source link

Support for PAS tokens #499

Closed tehlers320 closed 6 months ago

tehlers320 commented 6 months ago

https://confluence.atlassian.com/enterprise/using-personal-access-tokens-1026032365.html

The api token settings today for this use

Authorization: Basic base64(user:token)

but the PAS token needs

"Authorization: Bearer <yourToken>"
tehlers320 commented 6 months ago

Nevermind, its a setting bearer-token