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

Fix rvl auth bearer token branch #447

Merged
merged 3 commits into from
Nov 28, 2021

Conversation

catskul
Copy link
Contributor

@catskul catskul commented Nov 21, 2021

Some fixes to @rvl's branch which adds bearer tokens: #438

…here apk-token was, and fix some related tab/space issues
@catskul catskul force-pushed the fix-rvl-auth-bearer-token branch from 4aaa502 to b3723c7 Compare November 21, 2021 06:21
@georgettica
Copy link
Collaborator

Wow, that is deeper than the original

@catskul
Copy link
Contributor Author

catskul commented Nov 21, 2021

Wow, that is deeper than the original

Yeah, it turns out most of the places we were comparing to "api-token" we meant any type of token token.

One example was that despite having JIRA_API_TOKEN set it was still asking me for a password.

@catskul
Copy link
Contributor Author

catskul commented Nov 21, 2021

One thing that could be taken a step further is that the password store could be made to differentiate between bearer-token and auth-token but that felt like a step to far for this PR

@catskul
Copy link
Contributor Author

catskul commented Nov 23, 2021

@coryb, @ldelossa, @mikepea could we get eyes on this PR?

Copy link
Collaborator

@mikepea mikepea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't have a local JIRA instance to test this against, but the code appears solid and it matches to the documentation at https://confluence.atlassian.com/enterprise/using-personal-access-tokens-1026032365.html#UsingPersonalAccessTokens-UsingPATs

Merging!

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

Successfully merging this pull request may close these issues.

4 participants