Comments (2)
Dear valued user,
We had considered those exact flags during initial implementation of the login function. However, we realized that there were flags that allowed you to "skip" the choice of login mechanism:
As User: auth0 login --domain <tenant-domain> --client-id <client-id> --client-secret <client-secret>
As Machine: auth0 login --no-input
Admittedly, the --no-input
flag is not immediately intuitive and a --as-user
could certainly be added in the future.
Does the above help?
from auth0-cli.
Hey @willvedd! 😆
Thanks! And I gotcha, that decision makes total sense. We are, admittedly, kind of applying the CLI in a use case it wasn't initially planned of being used for, I think. There are bound to be situations like this.
Thanks for the guidance examples! The "as user" guidance example you provided would work, but at least for this use case, where we have a lot of first-time users coming to Auth0 with clean tenants and unfamiliarity with the processes, it would be problematic from a DX perspective.
It would require considerably more work for the end user to craft the command, and guidance from ourselves in how to craft it, meaning lengthier quickstarts and READMEs, and more opportunity for errors by users during configuration.
There's a bit of a chicken-and-the-egg situation, too, for this use case. If you take a look at a quickstart that uses the CLI, as an example, users won't have the information necessary to craft the authentication command as you demo'd beforehand: https://auth0.com/docs/quickstart/webapp/laravel/01-login#sdk-configuration
(No fires on this (and my other) suggestion by the way, just rough areas I noticed that we could consider improving to ease CLI adoption for use with the SDKs! Just something to consider. ❤️)
from auth0-cli.
Related Issues (20)
- Error when trying to edit login-id prompt text HOT 1
- auth0 branding templates update throws panic HOT 3
- Storybook not starting when updating the UL HOT 1
- Block a user account HOT 2
- Order APIs list by Name, Identifier or Scopes
- Add Search support for apis and apps list commands
- Could auth0 cli log stream evengrid create support filters as an input parameter
- CLI completely freezes on WSL2 HOT 3
- Feature Request: Expand `auth0 tenants` to output CLI's active tenant domain HOT 3
- Universal login: Choice of editor HOT 2
- auth0 users blocks list <user-id> and auth0 users blocks unblock <user-id> should allow name and email as indefier HOT 1
- Terraform generate command not found. HOT 2
- Testing Sign in With Apple results in `cannot unmarshal string into Go struct field UserInfo.email_verified of type bool` when requesting email scope HOT 3
- Can only provide 1 secret to actions HOT 3
- Change default editor for use with Windows environment HOT 4
- a0deploy export and import return error: Invalid token HOT 1
- Integration Test Error HOT 5
- Client credentials auth failing when no keyring HOT 6
- logs ls --number has no effect HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from auth0-cli.