简体   繁体   中英

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. I followed the step for the configuration of SAML toolkit for PHP in this link .

  • I add application SAML Test Connector (IdP w/ attr).
  • I add the content of repository Github to my hosting to run PHP code.
  • I defined the variable in demo1/settings.php

Setting code image

3

But I am getting a response from google suit (IDP)

google IDP response

4

Even I had tried he same code with Onelogin as IDP and it was working. Don't know why it's not working with Google as IDP.

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. This value is case-sensitive.

If you are having trouble implementing SAML yourself, you can always use WorkOS SDKs to make it easier. They have a PHP SDK: https://workos.com/docs/sso

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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