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

JiraError HTTP 403: Basic auth with password is not allowed #18

Open
dedarritchon opened this issue Feb 4, 2020 · 4 comments
Open

JiraError HTTP 403: Basic auth with password is not allowed #18

dedarritchon opened this issue Feb 4, 2020 · 4 comments

Comments

@dedarritchon
Copy link

Atlassian has deprecated the ability to use plaintext passwords with basic auth. You need to update the tool to use basic authentication with an API token, OAuth, or Atlassian Connect:

https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-basic-auth-and-cookie-based-auth/?_ga=2.46857255.1839331505.1580734130-1542450647.1578313476

Is there a way to still use the tool? Thanks

@optilude
Copy link
Contributor

optilude commented Feb 4, 2020 via email

@joska
Copy link

joska commented Feb 4, 2020

Although strange, the quick workaround for this issue seems to be using the Username with API token as a password. You can generate API token on https://id.atlassian.com/manage/api-tokens

@lauter-bach
Copy link

Can anyone confirm that this workaround is still working ?
--username < jira-username > --password < jira-token > ist not working in my case. Get 403 - Forbidden.

README.md states that this should be possible:
"Generate an API token for your user in JIRA settings and use this API token instead of password in your scripts"

Also tried
Username: < jira-username >
Password: < jira-tocken >
within 'Connection' section in yaml file.

thanks for any help in advance

@maqqju
Copy link

maqqju commented Sep 7, 2021

I am having the same issue - and realized that the problem is that for some JIRA versions Basic Auth with an API Token does not work. Instead, you will need to use a Bearer authentication.

I tried to fork out and use JWT, which did not do the job.

Do you have any ideas on how to go about it?

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

5 participants