-
Notifications
You must be signed in to change notification settings - Fork 55
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
The process to use this tool on a private cloud is unclear #392
Comments
Hi @andrewclaus, thanks for raising this. The process documented in the README is the one intended for getting the interactive login to work ( The other process is for getting the CLI to work in non-interactive environments like a CI job, but is a valid workaround for the previous issue. We could document the non-interactive process in the README as well. I'll leave this issue open to track that. |
@andrewclaus thanks for opening this ticket and remaining patient. We agreed that we could provide a lot more guidance for authenticating to a private cloud tenant. Which is why we updated the README to include a warning (see below) about private cloud users needing to authenticate via client credentials; authenticating as a user with device flow will not work. I consider this issue to be complete so I'm going to close, however, if there is any additional feedback or improvements that could be made here, please feel free to open a new issue. Thanks for your patience! |
Description
The readme should clarify how to use this tool for private cloud instances.
Currently, the readme has this to say:
When I set these 4 env variables and run
auth0 login
, I am redirected to the finder app (I am running on a Mac) instead of the web browser. It is possible this is because I have the wrong values set and it is unable to start the device code process. Alternatively, there could be a bug with auth0-cli that will always redirect to finder if AUTH0_CLIENT_ID is set. See the conversation here: #354If I have the wrong values set, then it might be a good idea to clarify in the readme where these values can be found.
Alternative
Through trial and error, I did manage to get the CLI working by running these commands:
This created ~.config/auth0/config.json and I was then able to run additional auth0 commands!
If this is a valid method of setting this up, then I would suggest adding it to the readme.
The text was updated successfully, but these errors were encountered: