-
Notifications
You must be signed in to change notification settings - Fork 1
Home
#Why?
Auth0 s an authentication broker that supports social identity providers as well as enterprise identity providers such as Active Directory, LDAP, Google Apps, Salesforce.
As part of their capabilities Auth0 provides a built-in database identity provider where users can register by themselves without having to use either their corporate or social identities.
To register users must provide their e-mail address and a password and the platform

Lock, the UI component provided by Auth0, allows a user reset its password at any given time using the option displayed in the login form. However, it does not provide a location ot change the user's e-mail address.

Although most users today have a couple of established e-mail accounts it is a reality that registered users will need to change their e-mail address for different reason.
#Overview
The Self-Service E-mail Update application is an Express application built to run in a node.js server or Webtask container. It provides the basic functionality required for an Auth0 user to update its own e-mail address without requiring help of the administrators.

The application uses two components of the Auth0 development tools:
- Lock for Web. As mentioned before this is a UI component that can be used in websites to simplify the creation of a Sign-In/Sign-Up workflow. By using Lock there is no need to implement the usual pages required for login. In this case Lock is used to implement the login workflow for the users that want to change their e-mail address.
- Management API. This REST API allows developers to create applications that can manage the users registered in the Auth0 Tenant. The application uses it to validate that the e-mail address requested is not being already used and to modify the users profile.