Node.js API for Single Sign On (SAML 2.0)
Welcome all PRs for maintaining this project, or provide a link to the repositories especially for use cases alongside with different frameworks.
This module provides high-level API for scalable Single Sign On (SSO) implementation. Developers can easily configure the Service Providers and Identity Providers by importing the corresponding metadata. SAML2.0 provides a standard guide but leaves a lot of options, so we provide a simple interface that's highly configurable.
To install the stable version
For those using Windows, windows-build-tools
should be installed globally before installing samlify.
yarn global add windows-build-tools
$ yarn add samlify
This project is now developed using TypeScript, also support Yarn which is a new package manager.
$ yarn global add typescript
$ yarn
const saml = require('samlify');
See full documentation here
samlify-sp Service provider example written with Next.js
samlify-idp Identity provider example written with Next.js
An introduction to Single Sign On
Copyright (C) 2016-present Tony Ngan, released under the MIT License.