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

Jira plugin isn't working anymore with basic auth #163

Closed
angystardust opened this issue Dec 3, 2018 · 3 comments
Closed

Jira plugin isn't working anymore with basic auth #163

angystardust opened this issue Dec 3, 2018 · 3 comments
Assignees

Comments

@angystardust
Copy link

angystardust commented Dec 3, 2018

Hi, I've just upgraded my did setup to 0.11 (did-0.11-1.fc29.noarch) using the COPR repository but I have to revert back to did-0.9 since jira plugin with basic auth is not working anymore.
It seems that now did tries to do a gss auth even if you specify to use the basic auth in the config file:

$ did yesterday
Status report for yesterday (2018-12-02 to 2018-12-02).

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
My User <[email protected]>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 ERROR  401 Client Error:  for url: https://jira.eidosmedia.com/rest/auth/latest/session
 ERROR  Jira authentication failed. Try kinit.

My config:

[jira-mycompany]
type = jira
prefix = MYGROUP
project = MYGROUP
url = https://jira.example.com/
auth_url = https://jira.example.com/rest/auth/latest/session
auth_type = basic
auth_username = myuser
auth_password = mypassword
@geoand
Copy link

geoand commented Dec 4, 2018

Saw the same exact thing for jboss JIRA :)

geoand added a commit to geoand/did that referenced this issue Dec 4, 2018
@psss psss self-assigned this Dec 4, 2018
@psss psss changed the title [Regression] jira plugin isn't working anymore with basic auth Jira plugin isn't working anymore with basic auth Dec 4, 2018
@psss
Copy link
Owner

psss commented Dec 4, 2018

Thanks for reporting the bug. This should be fixed by 99280c0.

@psss psss closed this as completed in 99280c0 Dec 4, 2018
@angystardust
Copy link
Author

angystardust commented Dec 4, 2018

The fix works great! Thank you so much for fixing so fast! 💯

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants