go-jira / jira

simple jira command line client in Go
Apache License 2.0
2.68k stars 328 forks source link

Support for PAS tokens #499

Closed tehlers320 closed 11 months ago

tehlers320 commented 11 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 11 months ago

Nevermind, its a setting bearer-token