Docs

Custom Database Script Templates: Get Users

Auth0 provides the following custom database script templates that you can use when implementing user search 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.

Notes

When working on your script, keep in mind that this script will be executed when the user wishes to change his password to test if the user exists.

Sample Scripts

Auth0 provides sample scripts for use with the following languages/technologies:

JavaScript

ASP.NET Membership Provider (MVC3 - Universal Providers)

ASP.NET Membership Provider (MVC4 - Simple Membership)

MongoDB

MySQL

Oracle

PostgreSQL

SQL Server

Windows Azure SQL Database

Request with Basic Auth

Stormpath