identity-desk-local
v0.1.0
Published
Local authenticator for Identity Desk, the Node.js identity framework
Downloads
2
Readme
identity-desk-local
Local authenticator for Identity Desk
Installation
$ npm install identiy-desk-local
Usage
const identityDesk = require('identity-desk');
const LocalAuthenticator = require('identity-desk-local');
// use it with the default redirects
identityDesk.use('local', new LocalAuthenticator());
// or provide your own redirects
identityDesk.use('local', new LocalAuthenticator({
successRedirect: '/',
failureRedirect: '/login, // overrides global failure redirect set in Identity Desk instance
}));