All Projects → tngan → Samlify

tngan / Samlify

Licence: mit
🔐 Node.js API for Single Sign On (SAML 2.0)

Programming Languages

javascript
184084 projects - #8 most used programming language
typescript
32286 projects

Projects that are alternatives of or similar to Samlify

webprofile-ref-project
A example project to demonstrate implementing SAML Web browser SSO profile using OpenSAML V2
Stars: ✭ 23 (-94.43%)
Mutual labels:  saml, sso, saml2
lemonldap-ng
LemonLDAP::NG main code
Stars: ✭ 49 (-88.14%)
Mutual labels:  saml, sso, saml2
Saml2.authentication.core
A SAML 2.0 middleware for ASP.NET Core
Stars: ✭ 66 (-84.02%)
Mutual labels:  sso, saml, saml2
Cipheridaas
CipherIDaaS —— Open-source IDaaS/IAM product by CipherChina , Hangzhou .
Stars: ✭ 121 (-70.7%)
Mutual labels:  sso, saml, saml2
casdoor
An Identity and Access Management (IAM) / Single-Sign-On (SSO) platform with web UI supporting OAuth 2.0, OIDC, SAML and CAS, QQ group: 645200447
Stars: ✭ 4,147 (+904.12%)
Mutual labels:  saml, sso
saml-http-post-reference
Reference implementation of SSO via the SAML Identity to Service Provider initiated HTTP POST Binding
Stars: ✭ 73 (-82.32%)
Mutual labels:  sso, saml2
Pysaml2
Python implementation of SAML2
Stars: ✭ 371 (-10.17%)
Mutual labels:  saml, saml2
wp-simple-saml
WordPress Simple SAML plugin
Stars: ✭ 73 (-82.32%)
Mutual labels:  saml, sso
sso-examples
Single Sign-On (SSO) examples for Metabase integration
Stars: ✭ 39 (-90.56%)
Mutual labels:  saml, sso
shib-cas-authn3
Integrates an external CAS Server and Shibboleth IdPv3.
Stars: ✭ 21 (-94.92%)
Mutual labels:  sso, saml2
OpenAM
OpenAM is an open access management solution that includes Authentication, SSO, Authorization, Federation, Entitlements and Web Services Security.
Stars: ✭ 476 (+15.25%)
Mutual labels:  saml, sso
authentik
The authentication glue you need.
Stars: ✭ 2,941 (+612.11%)
Mutual labels:  saml, sso
caddy-security
🔐 Authentication, Authorization, and Accounting (AAA) App and Plugin for Caddy v2. 💎 Implements Form-Based, Basic, Local, LDAP, OpenID Connect, OAuth 2.0 (Github, Google, Facebook, Okta, etc.), SAML Authentication. MFA/2FA with App Authenticators and Yubico. 💎 Authorization with JWT/PASETO tokens. 🔐
Stars: ✭ 696 (+68.52%)
Mutual labels:  saml, sso
Arkid
一账通是一款开源的统一身份认证授权管理解决方案,支持多种标准协议(LDAP, OAuth2, SAML, OpenID),细粒度权限控制,完整的WEB管理功能,钉钉、企业微信集成等
Stars: ✭ 217 (-47.46%)
Mutual labels:  sso, saml
SAML2
No description or website provided.
Stars: ✭ 81 (-80.39%)
Mutual labels:  saml, saml2
saml-service-provider
SAML Service Provider (SSO)
Stars: ✭ 13 (-96.85%)
Mutual labels:  saml, sso
Nginx Http Shibboleth
Shibboleth auth request module for nginx
Stars: ✭ 168 (-59.32%)
Mutual labels:  sso, saml2
Maxkey
MaxKey is Single Sign On(SSO) System,Leading-Edge Enterprise-Class open source IAM(Identity and Access management) product.
Stars: ✭ 274 (-33.66%)
Mutual labels:  sso, saml
Djangosaml2
A maintenance fork of the original and no longer maintained djangosaml2 library.
Stars: ✭ 143 (-65.38%)
Mutual labels:  sso, saml2
workos-node
Official Node SDK for interacting with the WorkOS API
Stars: ✭ 42 (-89.83%)
Mutual labels:  saml, sso

samlify ·

Build Status npm version Coverage Status Join the community on Spectrum

Highly configuarable Node.js SAML 2.0 library for Single Sign On

Welcome PRs

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

Sponsor

If you want to quickly implement SAML SSO, feel free to check out Auth0's NodeJS SDK and free plan at auth0.com/developers.

Installation

To install the stable version

Starting from v2.6, multiple schema validators are now supported. You can simply set the validator via the following global method. We have four validator modules right now, and you can write your own. The setSchemaValidator is required since v2.6, it will throw error if you don't set at the beginning.

import * as samlify from 'samlify';
import * as validator from '@authenio/samlify-xsd-schema-validator';
// import * as validator from '@authenio/samlify-validate-with-xmllint';
// import * as validator from '@authenio/samlify-node-xmllint';
// import * as validator from '@authenio/samlify-libxml-xsd'; // only support for version of nodejs <= 8

// const validator = require('@authenio/samlify-xsd-schema-validator');
// const validator = require('@authenio/samlify-validate-with-xmllint');
// const validator = require('@authenio/samlify-node-xmllint');
// const validator = require('@authenio/samlify-libxml-xsd');

samlify.setSchemaValidator(validator);

Now you can create your own schema validator and even suppress it but you have to take the risk for accepting malicious response.

samlify.setSchemaValidator({
  validate: (response: string) => {
    /* implment your own or always returns a resolved promise to skip */
    return Promise.resolve('skipped');
  }
});

For those using Windows, windows-build-tools should be installed globally before installing samlify if you are using libxml validator.

yarn global add windows-build-tools

Development

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

yarn global add typescript
yarn

Get Started

const saml = require('samlify');

See full documentation here

Example

react-samlify SP example powered by React, TypeScript and Webpack

Talks

An introduction to Single Sign On

License

MIT

Copyright

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].