Hi People,
I want to Integrate Google login SSO but using SAML?
Does anyone know where can i find proper documentation for the same.
How do I Integrate Google SSO but using SAML.
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Md SarfarajRank #194 · 12.4K reputationPosted Apr 9, 2022, 12:59 AM EDT
Muhammad Imran AnsariRank #326 · 7.6K reputationPosted Apr 9, 2022, 1:55 AM EDT
Yash Vishwakarma18 reputationPosted Apr 9, 2022, 4:23 AM EDT
Hey people,
I am trying to integrate the SAML SSO with my website,
when I send SAML request to my IDP using code below
refer this code
AccountSettings ac = new AccountSettings();
Models.GoogleSamlData.saml.AuthRequest req = new Models.GoogleSamlData.saml.AuthRequest(new AppSetting(), ac);
String url = (ac.idp_sso_target_url + "?SAMLRequest=" +
Server.UrlEncode(req.GetRequest(Models.GoogleSamlData.saml.AuthRequest.AuthRequestFormat.Base64)));
return RedirectPermanent(url);
I Get an error saying
Invalid Request, invalid idpId in request URL, check if SSO URL is configured properly on SP side
but I am sure that idp id is correct,
think the problem is with the format or something else that I cant figure out