hapijs-oidc-jwks-strategy
v1.0.3
Published
OpenID Connector for IdentityServer4 and HapiJS
Downloads
5
Readme
HapiJS OIDC-JWKS authentication strategy for HapiJS
This plugin is based on https://github.com/PDMLab/express-oidc-jwks-verify middleware for expressJS.
Instalation:
npm install hapijs-oidc-jwks-strategy
Usage:
const oidcJwks = require('hapijs-oidc-jwks-strategy');
server.register(oidcJwks, { issuer : "<issuer base URL>"});
On your routes:
module.exports = {
path : '...',
...
config : {
auth : 'oidc-jwks-strategy',,
}
};