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

Attachment download fails to authenticate #275

Open
tdelacour opened this issue Aug 11, 2020 · 0 comments
Open

Attachment download fails to authenticate #275

tdelacour opened this issue Aug 11, 2020 · 0 comments

Comments

@tdelacour
Copy link

I am having trouble using the attachment download method. As far as I can tell, it is failing to authenticate the request.

Relevant method:
https://github.com/rcarz/jira-client/blob/master/src/main/java/net/rcarz/jiraclient/Attachment.java#L107-L127

When I manually add an auth header, I am able to successfully execute the download. E.g.

httpget.setHeader("Authorization", "Basic ${Base64.getEncoder().encodeToString(<USER:PASS>)}")
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

1 participant