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)
- `auth0 login` should respect the `--domain` flag for personal credentials login HOT 2
- `auth0 terraform generate` should use `null` instead of `{}` for empty `encryption_key` property of `auth0_client` resources
- unable to login to a different tenant HOT 2
- Forms Support
- `terraform generate` does not include log streams
- Release v1.5.0 failed HOT 1
- Integration Test Error HOT 5
- Client credentials auth failing when no keyring HOT 6
- logs ls --number has no effect HOT 4
- preview and published page does not omit same HTML HOT 5
- auth0 organizations members list org_xxx error when outputting json HOT 1
- Swift Package Index shows it failed tests for visionOS: https://swiftpackageindex.com/auth0/Auth0.swift HOT 1
- Add capability to export logs as type csv not just json. HOT 3
- Generating token via CLI does not work with custom domains HOT 1
- Unable to create an access token on Gitpod.io with the Auth0 CLI
- auth0 terraform generate command does not create imports for auth0_client_credentials resources
- Unable to create a passwordless user
- tenants list --json returns csv HOT 2
- Custom Prompt Support with "auth0 universal-login customize" command HOT 1
- Auth0 - Laravel connection
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.