<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: beyashv</title>
    <description>The latest articles on DEV Community by beyashv (@beyashv).</description>
    <link>https://dev.to/beyashv</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F844393%2F833c74e4-9b5c-4445-985d-aace660e33b0.png</url>
      <title>DEV Community: beyashv</title>
      <link>https://dev.to/beyashv</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/beyashv"/>
    <language>en</language>
    <item>
      <title>GOOGLE SSO using SAML</title>
      <dc:creator>beyashv</dc:creator>
      <pubDate>Sat, 09 Apr 2022 08:25:37 +0000</pubDate>
      <link>https://dev.to/beyashv/google-sso-using-saml-3cea</link>
      <guid>https://dev.to/beyashv/google-sso-using-saml-3cea</guid>
      <description>&lt;p&gt;Hey people,&lt;br&gt;
I am trying to integrate the SAML SSO with my website,&lt;br&gt;
when I send SAML request to my IDP using code below&lt;/p&gt;

&lt;p&gt;refer this code&lt;br&gt;
AccountSettings ac = new AccountSettings();&lt;br&gt;
Models.GoogleSamlData.saml.AuthRequest req = new Models.GoogleSamlData.saml.AuthRequest(new AppSetting(), ac);&lt;br&gt;
String url = (ac.idp_sso_target_url + "?SAMLRequest=" +&lt;br&gt;
Server.UrlEncode(req.GetRequest(Models.GoogleSamlData.saml.AuthRequest.AuthRequestFormat.Base64)));&lt;br&gt;
return RedirectPermanent(url);&lt;/p&gt;

&lt;p&gt;I Get an error saying&lt;/p&gt;

&lt;p&gt;Invalid Request, invalid idpId in request URL, check if SSO URL is configured properly on SP side&lt;/p&gt;

&lt;p&gt;but I am sure that idp id is correct,&lt;br&gt;
think the problem is with the format or something else that I cant figure out&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--G4j13flL--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/oud8ef1e4za6yc5to7oh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--G4j13flL--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/oud8ef1e4za6yc5to7oh.png" alt="Image description" width="880" height="477"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
