Handle the Identity provider side of SAML using Node.js

白昼怎懂夜的黑 提交于 2019-12-13 04:24:51

问题


I need to implement an Identity provider service (using node.js) that should be able to.

  • Get, validate and parse (using private key and cretificate) the authentication request from SP example
  • If everything is valid, respond with a signed XML response example

    Is there a tool in node.js that can handle the IdP side of SAML protocol. i'm familiar with samlify, saml2, passport-saml, and all of them seem to handle the Service provider side of the protocol.


If the packages mentioned here can serve to my needs, could you specify how exactly they handle this. Any other directions and/or hints may be helpful.

Thanks


回答1:


This is what my research say about this modules .

Passport-saml - Provider service provider only

Saml2-js - Provide service provider

Samlify - Idp in experimental phase , You can check idp implementation here. https://github.com/tngan/samlify/blob/f2b6a2f8c36dc0ff887d0442c48cd0f2c0a4a778/examples

Node-samlp - IDP which provide saml assertion but user authorization we need to do our own

Saml-idp - It says IDP we can create but again it refer to online IDP



来源:https://stackoverflow.com/questions/57097666/handle-the-identity-provider-side-of-saml-using-node-js

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!