npm
modules; npm
modules not only reduce the overall size of action script code implementation, but also provide access to a wide range of pre-built functionality.
By default, a large list of publicly-available npm
modules are supported out-of-the-box. This list has been compiled and vetted for any potential security concerns. To see which npm
modules are supported, read Can I require: Auth0 Extensibility.
If you require an npm
module that is not supported out-of-the-box, then you can make a request via the Auth0 Extensibility portal or through your Auth0 representative. Auth0 will evaluate your request to determine suitability, if you need to escalate an unresolved request open a support ticket via the Auth0 support portal. There is currently no support in Auth0 for the use of npm
modules from private repositories.
configuration
object. The configuration
object should be treated as read-only and should be used for storing sensitive information, such as credentials or API keys for accessing external identity stores. This mitigates having security-sensitive values hardcoded in an action script.
The configuration
object can also be used to support whatever Software Development Life Cycle (SDLC) best practice strategies you employ, such as setting up multiple environments, by allowing you to define variables that have tenant-specific values. This mitigates hardcoded values in an action script, which may change depending upon which tenant is executing it.
id
(or alternatively user_id
) property in the returned user profile will be used by Auth0 to identify the user. If you are using multiple custom database connections, then the id value must be unique across all the custom database connections to avoid user ID collisions. Our recommendation is to prefix the value of id with the connection name (omitting any whitespace). To learn more about user IDs, read Identify Users.