Auth0 Tooling
Overviewโ
This documentation aims to cover different tooling available in auth0 to help with developer experience, debugging and account management.
Terraformโ
The Auth0 provider is used to interact with Auth0 applications and APIs. It provides resources that allow you to create and manage clients, resource servers, client grants, connections, email providers and templates, rules and rule variables, users, roles, tenants, and custom domains as part of a Terraform deployment. This is extremely useful when standing up other tenants in different regions as well as provisioning environments. More information can be found in the resources section.
Auth0 CLIโ
Build, manage and test our Auth0 integrations from the command line.
๐งช Test our universal login flow: Emulate our end users' login experience by running auth0 test login.
๐ Troubleshoot in real-time: Inspect the events of your Auth0 integration as they happen with the auth0 logs tail command.
๐ Simplify repetitive tasks: Create, update, list and delete your Auth0 resources directly from the terminal.
One of the greatest features of the CLI is testing Customised New Universal Login liquid tempaltes.
In the Auth0 CLI run:
auth0 branding templates update
This opens two windows:
- A browser window with a Storybook that shows the login page with the page template applied
- The default editor, with the page template code
You can then change the page template code, and you will be able to preview the changes in your browser window.
Once you close the window, youโll be asked if you want to save the template. If you answer Yes, the template will be uploaded to your tenant.
More information can be found here
API Explorerโ
Learn about and explore the requests and responses for the Auth0 Authentication API endpoints in your browser with the Authentication API Explorer. The Authentication API enables you to manage all aspects of user identity when you use Auth0. It offers endpoints so your users can log in, sign up, log out, access APIs, and more.
Real-time Webtask Logsโ
The Real-time Webtask Logs extension displays all logs in real-time for the custom code in your account. This includes all console.log output and exceptions. This generally refers to Actions. Actions are secure, tenant-specific, versioned functions written in Node.js that execute at certain points within the Auth0 platform. Actions are used to customize and extend Auth0's capabilities with custom logic. You can learn more by reading the actions documentation here or at auth0.
Using the extensionโ
To view our logs navigate to:
Auth0 Dashboard > Extensions, and select Installed Extensions. Select Real-time Webtask Logs.
Warningsโ
The Real-time Webtask Logs extension uses the user's request, so you should be cautious about logging sensitive information. For example you can get the complete user profile in the onContinuePostLogin action. Logging the complete object may lead to the disclosure of sensitive information in the Webtask Logs extension.
Authentication API Debugger Extensionโ
The Authentication API Debugger extension allows you to test various endpoints of the Auth0 Authentication API. Note that this extension will communicate with the Management API on your behalf to retrieve details about the Applications you have configured in your Auth0 Dashboard.