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

WIP: jiralogin: Add support for token_auth authentication #59

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

robertfoss
Copy link
Contributor

@robertfoss robertfoss commented Mar 16, 2023

Self-hosted Jira instances can't use the API token authentication, but must instead rely on the Personal Access Token authentication scheme[1].

This patch introduces support for this authentication method as the third mode of authenticating.

[1] https://jira.readthedocs.io/examples.html#token-auth


This PR is missing a convenient way to specify that this login method is the desired one. Something along the lines of

jipdate --init --auth auth_token/token/password --token abcdefghjkl --server jira.company.com

Personally find the python-jira nomenclature around token/auth_token to be quite confusing so maybe referring to the different tokens as cloud_token and personal_token would make more sense.

Self-hosted Jira instances can't use the API token authentication,
but must instead rely on the Personal Access Token authentication
scheme.

This patch introduces support for this authentication method as
the third mode of authenticating.

[1] https://jira.readthedocs.io/examples.html#token-auth

Signed-off-by: Robert Foss <[email protected]>
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.

1 participant