For developers unfamiliar with the Auth0 CLI, it is a powerful tool designed to streamline and enhance your Auth0 development experience. The CLI empowers you to manage your Auth0 tenants effortlessly from the command line and automate tasks such as creating users, assigning roles, updating applications, and accessing unique features tailored to streamline your Auth0 integration process.
This article will highlight some of the most significant changes, but for a comprehensive overview and guidance on how to transition your current project to the new Auth0 CLI, we recommend following the official v1 Migration Guide and Release Notes on GitHub.
The Journey to Auth0 CLI v1
The Auth0 CLI has come a long way since its humble beginnings during a hackathon over two years ago. Initially labeled as an experimental build, Auth0 CLI has received modest updates and feature enhancements along the way. Thanks to the continuous feedback and contributions from our developer community, we have been able to refine and expand its feature set, making the CLI a valuable tool for Auth0 developers.
The decision to transition from an experimental build to an officially supported General Availability (GA) build is a testament to our commitment to the Auth0 CLI and its continued development. This significant milestone reflects our confidence in the CLI's stability, reliability, and ability to cater to a diverse range of developer needs. By moving to GA, we're signaling our full support for Auth0 CLI and ensuring that devs can trust and rely on it as a core part of their workflow.
What's New in Auth0 CLI v1
Let's look at some of the new updates in Auth0 CLI v1! This latest version is packed with new features and improvements to streamline your Auth0 development experience and boost efficiency. In this section, we'll dive into some of the most noteworthy additions and enhancements you can expect in Auth0 CLI v1.
Improved authentication process
With Auth0 CLI v1, we've redesigned the interactive prompts at login to offer a seamless experience for authenticating as a user or as a machine for automating your backend services. This flexibility accommodates different types of developer workflows and situations, such as automating tasks or integrating with third-party services, making it simpler and more convenient for a wide range of users to get started with Auth0 CLI. Take a look at the improved authentication flow below to see just how fast it is to start using Auth0 CLI:
API command for authenticated Management API requests
api command enables you to make authenticated HTTP requests to the Management API directly, ensuring feature parity with our other development tools. This powerful addition provides a convenient and efficient way to access the Management API and further bridges the gap between the Auth0 CLI and any available Management API endpoint, making your workflow even more streamlined and cohesive. The animation below shows you just how easy it is to extend any Management API endpoint with Auth0 CLI:
Streamlined and expanded feature set
Auth0 CLI v1 is packed with numerous enhancements and bug fixes, offering developers a dependable and adaptable solution. These refinements increase the CLI's reliability, reflecting our unwavering dedication to continuously improve the tool in response to feedback from our growing developer community.
Boasting more than seventy new features, enhancements, and bug fixes, Auth0 CLI equips developers with unique features designed to optimize the Auth0 development experience, such as:
- Live tailing tenant logs
- Visualizing Universal Login modifications with Storybook and hot reloading
- Generating access tokens on demand
- Downloading, bootstrapping quickstarts
For a full list of changes, please refer to our Release Notes on GitHub.
Getting Started with Auth0 CLI v1
To get started with Auth0 CLI v1, follow these steps:
- Install the CLI by following the instructions specific to your operating system on GitHub.
- Authenticate using
auth0 loginand follow the interactive prompt.
Thats it! Once you're authenticated, explore the available commands and features with
auth0 --help or refer to the documentation for a complete guide.
Note, if you are coming from a previous version of Auth0 CLI, please refer to the v1 migration guide, as this release includes breaking changes.
Your Feedback Matters
Your feedback plays a crucial role in the ongoing improvement of Auth0 CLI. We encourage you to report bugs, suggest features, and share your thoughts through GitHub issues. While v1 is a significant step forward, we have more plans for Auth0 CLI and we invite you to join us in this exciting journey and contribute to its future.
Auth0 CLI v1 marks a new chapter in the Auth0 development experience. With its enhanced feature set and stability, it can become a useful tool in your Auth0 toolkit. We invite you to try it out and share your feedback to help us make the Auth0 CLI even better. Be sure to visit the Auth0 CLI GitHub repository to stay informed on the latest developments and join the growing community of Auth0 CLI users.