Closed amethystace11 closed 1 year ago
@amethystace11 , I found that adding server as an argument in the JIRA object worked even though it's also included in my options.
JIRA(server=jiraURL, options=jira_options, token_auth=token)
Closing issue, ended up generating a new token on Jira and issue seemed to fix itself.
Bug summary
Unable to authenticate to local jira server using Personal Access Token authentication. Working 100% fine with username, password authentication, just unable to get token_auth working. Receiving 401 response with error response headers when attempting to use token authentication. Built following https://github.com/pycontribs/jira/blob/main/docs/examples.rst and https://buildmedia.readthedocs.org/media/pdf/jira/latest/jira.pdf . Any help is greatly apprecaited! Some sections of tokens, dns names, etc, censored for privacy reasons with "[REDACTED]", fyi.
Is there an existing issue for this?
Jira Instance type
Jira Server or Data Center (Self-hosted)
Jira instance version
9.0.0
jira-python version
3.4.1
Python Interpreter version
3.8.14
Which operating systems have you used?
Reproduction steps
Stack trace
Expected behaviour
Expecting authentication to work - please let me know if I'm missing part of this. Redacted certain bits of information for privacy purposes.
Additional Context
No response