/samlify

๐Ÿ”’ Node.js API for Single Sign On (SAML 2.0)

Primary LanguageTypeScriptMIT LicenseMIT

samlify ยท Build Status npm version Coverage Status

Node.js API for Single Sign On (SAML 2.0)

Welcome PRs

Welcome all PRs for maintaining this project, or provide a link to the repositories especially for use cases alongside with different frameworks.

Description

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.

Installation

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

Development

This project is now developed using TypeScript, also support Yarn which is a new package manager.

$ yarn global add typescript
$ yarn

Integrations

Get Started

const saml = require('samlify');

See full documentation here

Examples (In progress)

samlify-sp Service provider example written with Next.js

samlify-idp Identity provider example written with Next.js

Talks

An introduction to Single Sign On

License

MIT

Copyright

Copyright (C) 2016-present Tony Ngan, released under the MIT License.