simple-kerberos
v3.0.0
Published
Kerberos for web servers made simple
Downloads
951
Readme
simple-kerberos
Kerberos for web servers made simple
Installation
$ [sudo] npm install simple-kerberos --save
Usage
The module takes a token and uses the kerberos module to find the matching principle
Example
import simpleKerberos from 'simple-kerberos';
simpleKerberos('my-token')
.then(username => {
console.log(username); // outputs the username matching the given token
});
Related
- express-auth-negotiate - Express middleware to get the token
- kerberos - The underlying kerberos module
- express-kerberos - One middleware to enable kerberos authentication
FAQ
- I am getting
Simple Kerberos failed to load the "kerberos" module
This is the expected bahivour when the library was not able to find the kerberos module. Common causes:- missing
kerberos
package as dependencies. kerberos
module was not built properly and could not find the complied code
- missing