Sample code for custom OAuth2 connections with Auth0 popup mode
-
Follow directions in this gist to set up Auth0 custom connection.
-
npm install
to install dependencies -
In
public/lock.js
enter yourauth0ClientId
,auth0Domain
andconnectionName
. -
npm start
to start the server and viewindex.html
in your browser