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

ZCLI does not work with enviroment variables at zshrc #225

Open
feliperama opened this issue Mar 22, 2024 · 0 comments
Open

ZCLI does not work with enviroment variables at zshrc #225

feliperama opened this issue Mar 22, 2024 · 0 comments

Comments

@feliperama
Copy link

Expectations

If correctly setup the enviroment variables at .zshrc , the command zcli login will immediately work.

export ZENDESK_SUBDOMAIN=somesubdomain
export ZENDESK_EMAIL=someemail@emaildomain.com   // yes, without token
export ZENDESK_API_TOKEN=*****

Reality

Didn't login and always shows:

Browser login coming soon, use `zcli login -i` for interactive logins.

Steps to Reproduce

  1. setup environment variables at .zshrc
  2. open again the shell or do source ~/.zshrc
  3. zcli login

Issue details

  • Command: zcli login
  • Version: zcli --version
    @zendesk/zcli/1.0.0-beta.40 linux-x64 node-v20.11.1
  • OS: ubuntu, zsh and tmux
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