Google IDP integration

Hi,

One of my client is using google IDP, I did the same thing as others but got this error

The partner identity provider https://accounts.google.com/o/saml2/idp?idpid=C02afg1gr is not configured.

The saml config is like this, did I miss anything? I got error when calling
SAMLServiceProvider.InitiateSSO(Response, returnUrl, partnerIdP);

partnerIdP= https://accounts.google.com/o/saml2/idp?idpid=C02afg1gr




<PartnerIdentityProvider Name=“<a href=“https://accounts.google.com/o/saml2?idpid=C02afg1gr””>https://accounts.google.com/o/saml2?idpid=C02afg1gr"
PartnerCertificateString=“xxxx”
NameIDFormat=“urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress”
SingleSignOnServiceUrl=“<a href=“https://accounts.google.com/o/saml2/idp?idpid=C02afg1gr””>https://accounts.google.com/o/saml2/idp?idpid=C02afg1gr"


The partner name parameter to the SAMLServiceProvider.InitiateSSO must exactly match one of the Name values in your saml.config. We don’t match on the SingleSignOnServiceUrl.

It looks like the parameter value is "<a href=“https://accounts.google.com/o/saml2/idp?idpid=C02afg1gr".">https://accounts.google.com/o/saml2/idp?idpid=C02afg1gr”. However, the configured name is “<a href=“https://accounts.google.com/o/saml2?idpid=C02afg1gr".">https://accounts.google.com/o/saml2?idpid=C02afg1gr”.

It looks like you specified the SingleSignOnServiceUrl rather than the Name as the parameter to SAMLServiceProvider.InitiateSSO.

Try specifying “<a href=“https://accounts.google.com/o/saml2?idpid=C02afg1gr””>https://accounts.google.com/o/saml2?idpid=C02afg1gr” as the partner name parameter.