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

Can't access JIRA due to authentication being deprecated #994

Open
bahjat1993 opened this issue Jan 20, 2021 · 6 comments
Open

Can't access JIRA due to authentication being deprecated #994

bahjat1993 opened this issue Jan 20, 2021 · 6 comments
Labels
docs Status: Needs Info Waiting for steps to reproduce, or additional context.

Comments

@bahjat1993
Copy link

I can't access the latest JIRA instances using this library. Every time i try to do so i get an error, "Basic authentication with passwords is deprecated". I've tried substituting my password for my API key but i get the same error.

The whole library won't work with out this fix for latest versions of JIRA :(

@yo-ga
Copy link

yo-ga commented Mar 18, 2021

This package also supports OAuth, Kerberos, and JWT.
Here is the document

@studioj
Copy link
Collaborator

studioj commented May 11, 2021

#893 (review)

@studioj studioj added the docs label May 11, 2021
@studioj
Copy link
Collaborator

studioj commented May 13, 2021

@bahjat1993 can you confirm if its working properly with version 3.0.1

@studioj studioj added the Status: Needs Info Waiting for steps to reproduce, or additional context. label May 13, 2021
@j5awry
Copy link

j5awry commented Aug 13, 2021

attempted to login with basic_auth('email', 'api_token") this afternoon, and got a JiraError. It appears that this is not "fixed". #893 is a doc only change, and doesn't change the behaviour, which is something in the Jira library is attempting a non-token based basic_auth request.

It looks like #991 is opened to create a Token based auth type. It'd be great to expedite that so people working on scripts can use API token based basic auth.

@studioj
Copy link
Collaborator

studioj commented Aug 28, 2021

@j5awry would you be able to check out that PR and validate?

@adehad is working on a implementation to get the CI system also to run for jira cloud ...

Thanks for willing to contribute!

@bodograumann
Copy link

The problem, as I have just experienced it, is that when you try to do token authentication and your credentials are wrong, you also get the same error message about basic auth being deprecated, even though you where trying to use a token.

So I think the error message needs to be changed in this case. It is extremely confusing currently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Status: Needs Info Waiting for steps to reproduce, or additional context.
Projects
None yet
Development

No branches or pull requests

5 participants