简体   繁体   English

如何使用 SAML 2.0 集成 PHP 应用程序和 ADFS

[英]How to integrate PHP application and ADFS using SAML 2.0

Recently I started a conversation about an integration of my company's application to the ADFS of our client.最近,我开始讨论将我公司的应用程序集成到我们客户的 ADFS 中。 Their team generated a XML (FederationMetadata.xml) and gave it to us, now they're asking for a XML that should be generated by us and imported into their ADFS.他们的团队生成了一个 XML (FederationMetadata.xml) 并将其提供给我们,现在他们要求我们生成一个 XML,它应该由我们生成并导入他们的 ADFS。 I have no idea what this XML I need to generate is.我不知道我需要生成的这个 XML 是什么。 Searching on internet I haven't found anything in this way, which made me question if that is right (giving back a config xml, what configs??)在互联网上搜索我没有以这种方式找到任何东西,这让我怀疑这是否正确(返回配置 xml,什么配置??)

My application runs using PHP.我的应用程序使用 PHP 运行。 Is there a succinct documentation I can start with and is that concept of returning a XML (to be imported in ADFS) generated using FederationMetadata.xml right?是否有我可以开始使用的简洁文档,并且返回使用 FederationMetadata.xml 生成的 XML(将在 ADFS 中导入)的概念是否正确?

Thank you谢谢

Your best bet is to use an existing library for SAML.最好的办法是使用现有的 SAML 库。 SimpleSAMLphp is a solid option, it's very mature and widely used. SimpleSAMLphp是一个可靠的选择,它非常成熟并且被广泛使用。 The documentation is good, and it's quite easy to integrate into an existing application.文档很好,很容易集成到现有的应用程序中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM