simple-kerberos
v3.0.0
Published
Kerberos for web servers made simple
Readme
simple-kerberos

Kerberos for web servers made simple
Installation
$ [sudo] npm install simple-kerberos --saveUsage
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" moduleThis is the expected bahivour when the library was not able to find the kerberos module. Common causes:- missing
kerberospackage as dependencies. kerberosmodule was not built properly and could not find the complied code
- missing
