Availability varies by Auth0 plan
Both your specific login implementation and your Auth0 plan or custom agreement affect whether this feature is available. To learn more, read Pricing.
- Actions: Actions are secure, tenant-specific, versioned functions written in Node.js that execute at certain points within the Auth0 platform. Use actions to customize and extend Auth0’s capabilities with custom login.
-
Rules: Run when artifacts for user authenticity are generated. For example:
- ID Token in OpenID Connect (OIDC)
- Access Token in OAuth 2.0
- An assertion in SAML
- Hooks: Provide additional extensibility when there is an exchange of non-user-related artifacts and when user identities are created such as pre-user registration and post-user registration.
- Scripts for both custom database connections and migrations are used to integrate with an existing user identity store or where automatic user migration from an independent or legacy identity store are required. For more more configuration information, review Create Custom Database Connections.
- To avoid user duplications, set a consistent
user_id
on each returned user profile. Additionally, ensure that you don’t return the same email address for two different users in theget_user
orlogin
script and make sure both scripts return the same user. - To support backwards compatibility,
app_metadata
is calledmetadata
in custom DB scripts. Since data transfer can be interrupted, use an Action to fetch the metadata that should be inapp_metadata
oruser_metadata
if it’s missing. - Ensure you restrict access to the with an Action.