-
Notifications
You must be signed in to change notification settings - Fork 23
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
Basic auth with passwords is deprecated #46
Comments
Hi @tandrewnichols , we definitely use the API token for jira authentication and not passwords. And yes it still works. At one time we did use passwords, but in the config file you should see something like this: |
Hmm, I guess I need to try it again. |
I'm having basically the same issue. My config file has the right url, user and I can see a token there, but I haven't tried adding logging, per se, but using the [update] |
Im having the same issue - ive created the API token, updated my jira-cli/config.json to ensure that my url, user, and token are correct, and just cant get edit: OK I actually figured out what the problem was: the API token that Atlassian generates isn't enough alone, you need to actually base64encode your emailaddress:token and enter that into your ./jira-cli/config.json like their docs show here: |
The solution for me was to go to https://id.atlassian.com/manage-profile/security/api-tokens, generate a token and paste it in |
I was really excited when I found this lib, but after running
jira config
and entering my credentials, I was getting "No issues" when runningjira ls
. Added some logging and found that a 401 is being returned with the messageBasic authentication with passwords is deprecated. For more information, see: https://confluence.atlassian.com/cloud/deprecation-of-basic-authentication-with-passwords-for-jira-and-confluence-apis-972355348.html
. Following that link, it says that change was June of 2019, although there is development and (unrelated) issues opened here since then, which makes me think it's been working for people. I tried swapping my password with an API token just to see if that would work, but it did not.The text was updated successfully, but these errors were encountered: