Development Lifecycle in Auth0

Development, Test, Q&A environments are easy to setup in Auth0. Simply create a new account for each to guarantee the maximum isolation between these environments. You can easily switch between accounts using the account chooser from the top right menu on the dashboard. You can also configure different administrators for each.

The example above uses a simple naming convention to distinguish each environment.

Note: if you have a paying subscription, you will not be charged for any additional accounts created for related environments. These accounts will have the same features as the "master" account. Please create a ticket in Support Center if you need to link different accounts to a master paying account.

Migration

Through the Management API v2, you can automate the migration of assets (e.g. rules, database connections, etc.) between accounts.

For easier configuration management, save settings in the dashboard instead of hardcoded into your rules or db connections scripts.

For example, in this rule it is always better to write:

function(user, context, callback){
  var log_url = configuration.log_url;
...
}

than:

function(user, context, callback){
  var log_url = ‘https://someurl/log’;
...
}

Since this URL will likely change from development to production, this method will make your code more portable.

AD/LDAP Connectors

Since an AD/LDAP Connector is tied to a specific Connection within an Auth0 account, if you setup multiple Auth0 accounts, you will need to create an AD/LDAP Connection and setup an AD/LDAP Connector for each account that requires this form of authentication.

Multiple AD/LDAP Connectors can point to the same AD or LDAP directory, but each AD/LDAP connector can only be used by one Connection within one Auth0 account.

If you have multiple AD/LDAP directories against which users will authenticate, (to support different departments or customers, each with their own directory, for example), you can setup multiple AD/LDAP Connectors within each Auth0 account.