This repository is to be used as a reference for implementing Webmaker Authentication in a node/express/nunjucks application
Points of interest (look for inline comments explaining what to do):
- app.js - express server setup and configuration
- index.html - how to set up the front end
- login-example.js - using the webmaker-auth-client JS API
- login-example.less - how to include the create user form less file
Required bower module:
git clone https://github.com/mozilla/webmaker-login-example.git
npm install
cp env.dist .env
node app
For further configuration options and details, read the webmaker-auth README and the webmaker-auth-client README