Custom Database Script Templates: Login
Auth0 provides the following custom database login script templates that you can use when implementing user login functionality.
While Auth0 has populated default templates in the Dashboard script editor, you can use the following links to recover the original code and notes once you've made and saved edits.
When working on your login script, keep in mind that:
- The script will be executed each time a user attempts to login
- The two parameters, email and password, are used to validate the authenticity of the user
- The login script is mandatory
Auth0 provides sample scripts for use with the following languages/technologies: