An Angular.js example application for utilizing Passwordless login with a stateless API server using JWT.
Dependencies: node.js, bower.
git clone https://github.com/billstron/passwordless-stateless-angular.git
cd ./passwordless-stateless-angular
npm install
bower install
- Start the server
node ./index.js - Browse to http://localhost:3000.
- Try the API access. There is an open one and a restricted one.
- Submit your email for authentication: foo@bar.com
- Check the server logs for the correct link to follow. Copy and paste that link into your browser window. You will be redirected back with an authorized session.
- Check the restricted resource.