Are there any SAML libraries for NodeJS? There seems to be a ton of code available for node but no SAML libraries. If not, is there a reason why not?
Select PASSWORD from the First Factor Type dropdown. Click on save button to configure Nodejs. Click on metadata and copy IDP Entity ID, SAML Login URL, SAML Logout URL, X509 Certificate. Add IDP and SP configurations in saml-config.
Security assertion markup language (SAML) is an authentication process. Head to work in the morning and log into your computer, and you've likely used SAML. Open authorization (OAuth) is an authorization process. Use it to jump from one service to another without tapping in a new username and password.
High-level API library for Single Sign On with SAML 2.0. This module provides a library for scaling Single Sign On implementation. Developers can easily configure the entities by importing the metadata. We provide a simple interface that's highly configurable.
Auth0 supports the SAML protocol and can serve as the IdP, the SP, or both including: SAML2 web applications.
Node.js is still a new technology and mostly being used on startups or enterprises that are innovating with realtime. Hence SAML is not popular among them, you will find more OAuth in that space. SAML is not a simple spec to implement (as opposed something like SWT or JWT). The hard piece is the Digital Signature which requires XML canonicalization among other things.
Couple of months ago I wrote an article about using Windows Azure ACS (which uses WS-Federation protocol and SimpleWebTokens) with node.js
http://nodeblog.cloudapp.net/using-windows-azure-access-control-service-acs-from-a-node-app
If you are interested in writing a SAML library for node.js let me know. I am interested in that.
Matias
There is also this npm package, I haven't used or implemented it yet, but it looks promising...
https://www.npmjs.com/package/saml2-js
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With