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

keychain + PAT does not work #645

Open
AlexCzar opened this issue Jul 19, 2023 · 0 comments
Open

keychain + PAT does not work #645

AlexCzar opened this issue Jul 19, 2023 · 0 comments

Comments

@AlexCzar
Copy link

AlexCzar commented Jul 19, 2023

Describe the bug
Does not work with API token saved to keychain

Please provide following details

  1. JiraCLI Version:
(Version="1.4.0", GitCommit="eb842e18014303a575fde8e19508b3c7c13982c5", CommitDate="2023-05-09T07:09:45+00:00", GoVersion="go1.19.4", Compiler="gc", Platform="darwin/arm64")
  1. Are you using Jira cloud or on-premise jira server?
SERVER INFO
-----------

Version:         8.20.10
Build Number:    820010
Deployment Type: Server
Default Locale:  
  1. What operating system are you using? Also mention version.
ProductName:		macOS
ProductVersion:		13.4.1
ProductVersionExtra:	(c)
BuildVersion:		22F770820d
  1. What terminal are you using? Also mention version.
kitty 0.29.1 created by Kovid Goyal

To Reproduce

Steps to reproduce the behavior:

  1. add PAT to keychain access -> Local Items, as described in configuration
  2. export JIRA_AUTH_TYPE=bearer
  3. without existing jira configuration run `jira init
  4. you'll see 401 error

Expected behavior
init process is successful

Additional context
it works if the API key is in login chain though, so maybe just the configuration should be updated.

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

2 participants