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

can't change API token #784

Open
raylu opened this issue Oct 3, 2024 · 0 comments
Open

can't change API token #784

raylu opened this issue Oct 3, 2024 · 0 comments

Comments

@raylu
Copy link

raylu commented Oct 3, 2024

Describe the bug
if you set up an API token, it's stored in the macOS login keychain
if you try to use a new token, jira init will ask for your login and try to auth with the old token

Please provide following details

  1. JiraCLI Version:
    (Version="1.5.2", GitCommit="34221786aaa12d5bc66039d164b6d9587b0799c7", CommitDate="2024-09-20T08:29:56+00:00", GoVersion="go1.23.1", Compiler="gc", Platform="darwin/arm64")
  2. Are you using Jira cloud or on-premise jira server?
    SERVER INFO
    -----------
    
    Version:         9.12.10
    Build Number:    9120010
    Deployment Type: Server
    Default Locale:  
    
  3. What operating system are you using? Also mention version.
    $ sw_vers
    ProductName:		macOS
    ProductVersion:		14.7
    BuildVersion:		23H124
    
  4. What terminal are you using? Also mention version.
    kitty 0.36.3

To Reproduce

Steps to reproduce the behavior:

  1. jira init
  2. invalidate the token used in step 1
  3. jira init again

Expected behavior
prompt for a new token

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