Google SAML APP SSO integrate with php application

Viewed 24

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.

1 Answers

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

Related