Authentication module for Akera.io web service.
$ npm install akera-web-authentication
To run the test suite, first install the dependencies, then run
$ npm install$ npm test
This module is designed to be loaded as application level service which
is usually done by adding a reference to it in
services section of
Service options available:
route: the route where the service is going to be mounted (default: '/auth/')
loginRedirect: the login page where user will get redirected if session not authenticated
successRedirect: the page where user will get redirected when authenticated
failureRedirect: the page where user will get redirected when authentication failed
providers: an array of authentication providers, supported providers:
ldap: LDAP, Active Directory provider using passport-ldapauth
akera: Akera.io server-side authentication provider using passport-akera
Provider specific configuration can be found on each provider web page.