使用 Node.js 处理 SAML 的身份提供者端 [英] Handle the Identity provider side of SAML using Node.js
问题描述
我需要实现一个应该能够实现的身份提供者服务(使用 node.js).
- 获取、验证和解析(使用私钥和证书)来自 SP example
如果一切都有效,则使用签名的 XML 响应进行响应 example>
node.js 中是否有工具可以处理 SAML 协议的 IdP 端.我熟悉 samlify、saml2, passport-saml,它们似乎都在处理协议的服务提供方.
如果这里提到的软件包可以满足我的需要,您能否具体说明它们是如何处理的.任何其他方向和/或提示可能会有所帮助.
谢谢
这是我对这个模块的研究结果.
Passport-saml - 仅提供服务提供商
Saml2-js - 提供服务提供者
Samlify - Idp 处于实验阶段,您可以在此处检查 idp 实现.https://github.com/tngan/samlify/blob/f887d0442c48cd0f2c0a4a777>
Node-samlp - IDP 提供 saml 断言,但我们需要自己做用户授权
Saml-idp - 它说我们可以创建 IDP,但它再次指的是在线 IDP
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
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
这篇关于使用 Node.js 处理 SAML 的身份提供者端的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!