{"library":"hapi-saml2","type":"library","category":null,"description":"hapi-saml2 is a Hapi.js plugin providing SAML-based Single Sign On via the node-saml library. Version 5.1.3 is current stable. It supports @hapi/hapi v18-v21, and requires @hapi/boom >=7.2.0 as a peer dependency. Key differentiators: built specifically for Hapi.js ecosystem (inline with Hapi's plugin architecture), replaces older passport-saml dependency with modern node-saml, and offers customizable route prefixes and handler hooks (preLogin, postResponseValidationErrorHandler). Release cadence: occasional updates to match node-saml releases.","language":"javascript","status":"active","version":"5.1.3","tags":["javascript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install hapi-saml2","imports":["const Hapi = require('@hapi/hapi'); const plugin = require('hapi-saml2'); await server.register({ plugin, options })","options: { getSAMLOptions: (request) => { return { entryPoint: '...', cert: '...' }; }, login: async (request, identifier, user) => { return true; }, logout: async (request) => { } }","login: async (request, identifier, user) => { return true; }"]},{"cmd":"yarn add hapi-saml2","imports":[]},{"cmd":"pnpm add hapi-saml2","imports":[]}],"homepage":null,"github":"https://github.com/toriihq/hapi-saml2","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/hapi-saml2","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/hapi-saml2/compatibility"}}