我正在尝试了解身份提供者使用 OpenSAML 响应 SAML 断言的正确方法是什么。有没有人有这个代码的例子?
您可以查看: https://www.samltool.com/generic_sso_res.php,了解带有签名/加密断言的 SAML 响应的格式。
项目中提供了使用 OpenSAML 的 IDP 实现示例:https://github.com/OpenConext/Mujina,并具有生成 SAML 断言的代码。
希望这会有所帮助。