An Angular.js example application for utilizing Passwordless login with a stateless API server using JWT.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
routes
www
.bowerrc
.gitignore
LICENSE
README.md
bower.json
index.js
package.json

README.md

Passwordless Stateless Angular

An Angular.js example application for utilizing Passwordless login with a stateless API server using JWT.

Installation

Dependencies: node.js, bower.

git clone https://github.com/billstron/passwordless-stateless-angular.git
cd ./passwordless-stateless-angular
npm install
bower install

Usage

  1. Start the server
    node ./index.js
    
  2. Browse to http://localhost:3000.
  3. Try the API access. There is an open one and a restricted one.
  4. Submit your email for authentication: foo@bar.com
  5. 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.
  6. Check the restricted resource.

License

BSD 2-Clause