Node Identity
Security Middleware
Installation
- npm install node-identity
Usage
var identity = ;var request = ; var express = ;var app = ; // Add the security middlewarevar identityHost = 'http://localhost:4000';var identityToken = 'x-bi-joe-auth-token'; app; // Protected routesapp; // Authorisationapp;