[英]Google SAML APP SSO integrate with php application
I am using the php SAML library for SAML integration in php applucation(SP) with google as IDP.我正在使用 php SAML 库在 php 应用程序(SP)中与谷歌作为 IDP 进行 SAML 集成。 I followed the step for the configuration of SAML toolkit for PHP in this link .
我按照此链接中为 PHP 配置 SAML 工具包的步骤进行操作。
Setting code image设置代码图像
But I am getting a response from google suit (IDP)但我收到了来自 google suit (IDP) 的回复
google IDP response谷歌 IDP 响应
Even I had tried he same code with Onelogin as IDP and it was working.甚至我也尝试过使用 Onelogin 作为 IDP 的相同代码并且它正在工作。 Don't know why it's not working with Google as IDP.
不知道为什么它不能作为 IDP 与 Google 合作。
Please Help.请帮忙。 if anyone having an idea for the same.
如果有人有同样的想法。
Thanks in advance.提前致谢。
You have to verify that the value in the saml:Issuer
tag in the SAMLRequest matches the Entity ID value configured in the SAML Service Provider Details section in the Admin console.您必须验证 SAMLRequest 中
saml:Issuer
标记中的值是否与管理控制台的 SAML 服务提供商详细信息部分中配置的实体 ID 值匹配。 This value is case-sensitive.此值区分大小写。
If you are having trouble implementing SAML yourself, you can always use WorkOS SDKs to make it easier.如果您自己在实施 SAML 时遇到问题,您可以随时使用 WorkOS SDK 来简化它。 They have a PHP SDK: https://workos.com/docs/sso
他们有一个 PHP SDK: https://workos.com/docs/sso
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.