WorkflowGen CLI

Interactive mode

Step 1: Register a new native application

  1. In the Auth0 portal Applications section, click Create Application.

  2. Fill in the form:

    • Name: WorkflowGen CLI

    • Type: Native

  3. Click Create at the bottom of the page.

You've now registered a new native application in Auth0.

Step 2: Add a callback URL

On the Settings tab, scroll down to the Allowed Callback URLs and add the URL http://127.0.0.1:8888/callback.

Port 8888 is defined by default; you can change it if it's already in use on your computer.

Step 3: Verify the grant types

In Settings > Advanced Settings > Grant Types, make sure that the Implicit, Authorization Code, and Refresh Token checkboxes are checked.

Review the registration

Since all applications in a domain can automatically access each other, your native application inherits access to the GraphQL API. Here's a review of all the information you need:

  • A client ID, which can be found on the native application's Settings tab.

  • An Auth0 domain name, which can be found on the native application's Settings tab.

Non-interactive mode

The configuration of non-interactive mode is the same as in the Auth0 configuration for server-side scripts section.

Here's a review of the information you'll need:

  • A client ID, which can be found on the registered application's parameters page.

  • A client secret, which can be found on the registered application's parameters page.

  • The domain, which can be found on the registered application's parameters page.

Last updated