hapijs-oidc-jwks-strategy

1.0.3 • Public • Published

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',,
    }
};

Package Sidebar

Install

npm i hapijs-oidc-jwks-strategy

Weekly Downloads

0

Version

1.0.3

License

ISC

Last publish

Collaborators

  • lucasduane