{"id":3830,"date":"2014-04-14T11:48:06","date_gmt":"2014-04-14T11:48:06","guid":{"rendered":"http:\/\/www.jitendrazaa.com\/blog\/?p=3830"},"modified":"2016-03-17T16:32:08","modified_gmt":"2016-03-17T16:32:08","slug":"step-by-step-guide-to-setup-federated-authentication-saml-based-sso-in-salesforce","status":"publish","type":"post","link":"https:\/\/www.jitendrazaa.com\/blog\/salesforce\/step-by-step-guide-to-setup-federated-authentication-saml-based-sso-in-salesforce\/","title":{"rendered":"Step by step guide to Setup Federated Authentication (SAML) based SSO in Salesforce &#8211; Video Tutorial"},"content":{"rendered":"<p style=\"text-align: justify;\">In this post, We will be dicussing how to setup\u00a0Federated SAML based Authentication in Salesforce.<\/p>\n<p style=\"text-align: justify;\"><a title=\"Security Assertion Markup Language\" href=\"http:\/\/en.wikipedia.org\/wiki\/Security_Assertion_Markup_Language\" rel=\"nofollow\">SAML <\/a>stands for &#8220;Security Assertion Markup Language&#8221; and it is Open standard for exchanging Authentication and Authorization between Systems. SAML based authentication is supported by all editions of Salesforce.<\/p>\n<p>User Validation can be initiated by any one of below two types:<\/p>\n<ol>\n<li>Service Provider Initiated SSO<\/li>\n<li>Identity Provider (IDp) initioated SSO<\/li>\n<\/ol>\n<p style=\"text-align: justify;\">We are going to use Identity Provider Initiated SSO in this article. Means User will Login from Outside(IDp) and will be redirected to Salesforce (Service Provider). Identity Provider must follow Federated Authentication (SAML) standard\u00a0which should be deployed to <a title=\"DMZ in Computing\" href=\"http:\/\/en.wikipedia.org\/wiki\/DMZ_(computing)\" rel=\"nofollow\">DMZ<\/a> (URL should be publicly accessible on Internet) layer of your Organization. As a Salesforce developer you should assume that you will always get IDp URL which implements SSO and implements valid SAML response.\u00a0To Quickly start with this tutorial assume that your organization already deployed SAML based Authentication endpoint and for that we will be using great Heroku app available freely as open source named &#8220;<a title=\"AXIOM Open Source SSO Implementation provider\" href=\"https:\/\/axiomsso.herokuapp.com\/Home.action\" rel=\"nofollow\">AXIOM<\/a>&#8220;.<\/p>\n<p>AXIOM is java based heroku application which implements SAML and can be used for testing \u00a0purpose to check whether SSO is working properly or not.<\/p>\n<p><strong>IDp Initiated Single Sign On :<\/strong><\/p>\n<p>In IDp Initiated SSO, User Directly logins to Identity provider and IDp redirects user to proper Salesforce Instance with SAML assertion in request (Service Provider). If SAML assertion is valid then Salesforce validates that user successfuly.<!--more--><\/p>\n<figure id=\"attachment_3836\" aria-describedby=\"caption-attachment-3836\" style=\"width: 625px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2014\/04\/IDp-Initiated-SAML-Based-Single-Sign-On.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-3836\" src=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2014\/04\/IDp-Initiated-SAML-Based-Single-Sign-On.png?resize=625%2C172&#038;ssl=1\" alt=\"IDp Initiated SAML Based Single Sign On\" width=\"625\" height=\"172\" srcset=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2014\/04\/IDp-Initiated-SAML-Based-Single-Sign-On.png?resize=1024%2C283&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2014\/04\/IDp-Initiated-SAML-Based-Single-Sign-On.png?resize=300%2C82&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2014\/04\/IDp-Initiated-SAML-Based-Single-Sign-On.png?resize=624%2C172&amp;ssl=1 624w, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2014\/04\/IDp-Initiated-SAML-Based-Single-Sign-On.png?w=1045&amp;ssl=1 1045w\" sizes=\"auto, (max-width: 625px) 100vw, 625px\" \/><\/a><figcaption id=\"caption-attachment-3836\" class=\"wp-caption-text\">Image 1 &#8211; IDp Initiated SAML Based Single Sign On<\/figcaption><\/figure>\n<p><strong>Step 1 : Enable My Domain<\/strong><\/p>\n<p>First step is to enable &#8220;My Domain&#8221; in Salesforce. This functionality will provide a unique name to your salesforce Instance. It may take 24 hours to activate. Your Domain name must be unique and not used by someone else.<\/p>\n<p><strong>Step 2: Download Identity Provider Certificate<\/strong><span style=\"line-height: 1.714285714; font-size: 1rem;\"><br \/>\n<\/span><\/p>\n<p>In this step we are going to get certificate from IDp. This certificate will be used by Salesforec to validate that client coming for user authentication is valid to avoid any unauthorized access to Service Provider (In our case it is Salesforce).<\/p>\n<p>You can download certificate by navigating to <a title=\"Download IDp Certificate\" href=\"https:\/\/axiomsso.herokuapp.com\/SamlIdpHome.action\">Axiom application here<\/a>.<\/p>\n<p><strong>Step 3: Enable Single Sign On in Salesforce<\/strong><\/p>\n<p>Navigate to &#8220;Setup | Security Controls | Single Sign-On Settings&#8221; and check &#8220;SAML Enabled&#8221; option.<\/p>\n<p><strong>Step 4 : Configure Single Sign On<\/strong><\/p>\n<p>Once SAML is enabled, new section will appear on same page to create New &#8220;SAML Single-On Settings&#8221;.<\/p>\n<p>Click on New Button and provide following informations<\/p>\n<ul>\n<li><strong>NAME<\/strong> &#8211; any name will work<\/li>\n<li><strong>API Name<\/strong> &#8211; any valid name<\/li>\n<li><strong>Issuer<\/strong> &#8211; Any name. You must remember this as your IDp must pass the same name while sending request<\/li>\n<li><strong>Identity Provider Certificate<\/strong> &#8211; Upload certificate here downloaded on step 2.<\/li>\n<li><strong>Entity Id<\/strong> &#8211; &#8220;https:\/\/saml.salesforce.com&#8221;<\/li>\n<li><strong>SAML Identity Type<\/strong> &#8211; Assertion contains the Federation ID from the User object<\/li>\n<li><strong>SAML Identity Location<\/strong> &#8211; Identity is in the NameIdentifier element of the Subject statement<\/li>\n<li><strong>Identity Provider Login URL<\/strong> &#8211; &#8220;<a title=\"AXIOM SSO URL\" href=\"http:\/\/axiomsso.herokuapp.com\/RequestSamlResponse.action\">http:\/\/axiomsso.herokuapp.com\/RequestSamlResponse.action<\/a>&#8221; (This URL must be publicly accesible on Internet)<\/li>\n<li><strong>Service Provider Initiated Request Binding<\/strong> &#8211; HTTP POST<\/li>\n<\/ul>\n<p>Once you are done with settings, you should be able to see seetings page something like this:<\/p>\n<figure id=\"attachment_3837\" aria-describedby=\"caption-attachment-3837\" style=\"width: 947px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2014\/04\/SAML-Single-Sign-On-Settings.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"  wp-image-3837 size-full\" src=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2014\/04\/SAML-Single-Sign-On-Settings.png?resize=947%2C398&#038;ssl=1\" alt=\"SAML Single Sign-On Settings\" width=\"947\" height=\"398\" srcset=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2014\/04\/SAML-Single-Sign-On-Settings.png?w=947&amp;ssl=1 947w, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2014\/04\/SAML-Single-Sign-On-Settings.png?resize=300%2C126&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2014\/04\/SAML-Single-Sign-On-Settings.png?resize=624%2C262&amp;ssl=1 624w\" sizes=\"auto, (max-width: 947px) 100vw, 947px\" \/><\/a><figcaption id=\"caption-attachment-3837\" class=\"wp-caption-text\">Image 2 &#8211; SAML Single Sign-On Settings<\/figcaption><\/figure>\n<p><strong>Step 5: Generate a SAML Response<\/strong><\/p>\n<p>Navigate to this URL and click on <a title=\"Generate a SAML Response\" href=\"https:\/\/axiomsso.herokuapp.com\/SamlIdpHome.action\">&#8220;generate a SAML Response&#8221;<\/a> link.<\/p>\n<p>Enter following detail in next screen:<\/p>\n<ul>\n<li><strong>SAML Version<\/strong> &#8211; 2.0<\/li>\n<li><strong>Username OR Federated ID<\/strong> &#8211; Once saml is enabled, One new field is created on user record &#8220;Federation ID&#8221;. This field can be used as a username to validated against IDp. In my case i have provided Employee numver &#8211; 123456. Note this is not in Email format.<\/li>\n<li><strong>User ID Location<\/strong> &#8211; Subject<\/li>\n<li><strong>Issuer<\/strong> &#8211; Issuer name which we already in Step4 while configuring SSO. In our case it is AXIOM<\/li>\n<li><strong>Recipient URL<\/strong> &#8211; This should be &#8220;Salesforce Login URL&#8221; which will be visible once we save SSO settings in Step 4. You can see it in <em>Image 2<\/em> above.<\/li>\n<li><strong>Entity Id<\/strong> &#8211; <a title=\"SAML Salesforce Entity ID\" href=\"https:\/\/saml.salesforce.com\">https:\/\/saml.salesforce.com<\/a><\/li>\n<li><strong>SSO Start Page<\/strong> &#8211; <a title=\"AXIOM SSO Login URL\" href=\"http:\/\/axiomsso.herokuapp.com\/RequestSamlResponse.action\">http:\/\/axiomsso.herokuapp.com\/RequestSamlResponse.action<\/a><\/li>\n<li><strong>User Type<\/strong>\u00a0&#8211; Standard<\/li>\n<\/ul>\n<figure id=\"attachment_3841\" aria-describedby=\"caption-attachment-3841\" style=\"width: 615px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2014\/04\/Generate-SAML-response.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-3841\" src=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2014\/04\/Generate-SAML-response.png?resize=615%2C701&#038;ssl=1\" alt=\"Generate SAML response\" width=\"615\" height=\"701\" srcset=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2014\/04\/Generate-SAML-response.png?w=615&amp;ssl=1 615w, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2014\/04\/Generate-SAML-response.png?resize=263%2C300&amp;ssl=1 263w\" sizes=\"auto, (max-width: 615px) 100vw, 615px\" \/><\/a><figcaption id=\"caption-attachment-3841\" class=\"wp-caption-text\">Image 3 &#8211; Generate SAML response<\/figcaption><\/figure>\n<p>After providing above details click on &#8220;Request SAML response&#8221; button. Below Screen will appear.<\/p>\n<figure id=\"attachment_3842\" aria-describedby=\"caption-attachment-3842\" style=\"width: 803px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2014\/04\/Login-using-SAML-Response-from-AXIOM.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"  wp-image-3842 size-full\" src=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2014\/04\/Login-using-SAML-Response-from-AXIOM.png?resize=803%2C603&#038;ssl=1\" alt=\"Login using SAML Response from AXIOM\" width=\"803\" height=\"603\" srcset=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2014\/04\/Login-using-SAML-Response-from-AXIOM.png?w=803&amp;ssl=1 803w, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2014\/04\/Login-using-SAML-Response-from-AXIOM.png?resize=300%2C225&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2014\/04\/Login-using-SAML-Response-from-AXIOM.png?resize=624%2C468&amp;ssl=1 624w\" sizes=\"auto, (max-width: 803px) 100vw, 803px\" \/><\/a><figcaption id=\"caption-attachment-3842\" class=\"wp-caption-text\">Image 4 &#8211; Login using SAML Response from AXIOM<\/figcaption><\/figure>\n<p>In this page, you can see format of SAML response. You dont have to change anything on this screen, click on Login button.<\/p>\n<p>If everything is OK, you will be on Salesforce Home page.<\/p>\n<p><strong>Question : Can I force users to login with Federated SSO only?<\/strong><br \/>\n<strong>Answer :<\/strong> Yes, <a title=\"Dont allow user to login from Standard login page of Salesforce\" href=\"http:\/\/help.salesforce.com\/apex\/HTViewSolution?id=000003861&amp;language=en_US\">Please refer this Article from Salesforce<\/a>.<\/p>\n<figure id=\"attachment_3844\" aria-describedby=\"caption-attachment-3844\" style=\"width: 300px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2014\/04\/Dont-allow-user-to-use-Standard-Login-page-to-Login-in-Salesforce.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-3844\" src=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2014\/04\/Dont-allow-user-to-use-Standard-Login-page-to-Login-in-Salesforce.png?resize=300%2C206&#038;ssl=1\" alt=\"Dont allow user to use Standard Login page to Login in Salesforce\" width=\"300\" height=\"206\" srcset=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2014\/04\/Dont-allow-user-to-use-Standard-Login-page-to-Login-in-Salesforce.png?resize=300%2C206&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2014\/04\/Dont-allow-user-to-use-Standard-Login-page-to-Login-in-Salesforce.png?resize=624%2C429&amp;ssl=1 624w, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2014\/04\/Dont-allow-user-to-use-Standard-Login-page-to-Login-in-Salesforce.png?w=852&amp;ssl=1 852w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-3844\" class=\"wp-caption-text\">Image 5 &#8211; Dont allow user to use Standard Login page to Login in Salesforce<\/figcaption><\/figure>\n<p><strong>Video Tutorial<\/strong><br \/>\n<iframe loading=\"lazy\" src=\"\/\/www.youtube.com\/embed\/cSwBRTJE7YM\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this post, We will be dicussing how to setup\u00a0Federated SAML based Authentication in Salesforce. SAML stands for &#8220;Security Assertion Markup Language&#8221; and it is Open standard for exchanging Authentication and Authorization between Systems. SAML based authentication is supported by all editions of Salesforce. User Validation can be initiated by any one of below two [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"jz_research_post":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[9],"tags":[240,242,342,241,243,331,238,239,237],"class_list":["post-3830","post","type-post","status-publish","format-standard","hentry","category-salesforce","tag-axiom","tag-federated-authentication","tag-heroku","tag-idp-initiated-sso","tag-my-domain","tag-salesforce","tag-saml","tag-single-sign-on","tag-sso"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":3872,"url":"https:\/\/www.jitendrazaa.com\/blog\/salesforce\/implement-saml-based-single-sign-on-sso-salesforce-as-identity-provider-idp-salesforce-as-service-provider-sp\/","url_meta":{"origin":3830,"position":0},"title":"Implement SAML based Single Sign On (SSO) | Using Salesforce as Identity Provider (Idp) as well as Service Provider (SP)","author":"Jitendra","date":"April 23, 2014","format":false,"excerpt":"Previously we have seen, How to setup SAML based Single Sign On Where Salesforce will be Service Provider and some other application like AXIOM will be Identity Provider. In this article we will use one Salesforce Instance as Identity Provider and other Salesforce Instance\u00a0as Service Provider. Before starting you have\u2026","rel":"","context":"In &quot;Salesforce&quot;","block_context":{"text":"Salesforce","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/salesforce\/"},"img":{"alt_text":"User Setup in SSO Salesforce","src":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2014\/04\/User-Setup-in-SSO-Salesforce1.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2014\/04\/User-Setup-in-SSO-Salesforce1.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2014\/04\/User-Setup-in-SSO-Salesforce1.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":6439,"url":"https:\/\/www.jitendrazaa.com\/blog\/microsoft\/video-use-microsoft-azures-active-directory-as-identity-provider-for-salesforce-sso-in-15-minutes\/","url_meta":{"origin":3830,"position":1},"title":"Video &#8211; Use Microsoft Azure&#8217;s Active Directory as Identity Provider for Salesforce SSO in 15 Minutes","author":"Jitendra","date":"March 23, 2018","format":false,"excerpt":"Video tutorial on how to use Microsoft Azure's Active Directory as a Identity Provider for Salesforce. It uses Federated Single Sign On (SSO) feature of Salesforce","rel":"","context":"In &quot;Microsoft&quot;","block_context":{"text":"Microsoft","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/microsoft\/"},"img":{"alt_text":"Salesforce Azure SSO in 15 minutes","src":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2018\/03\/Screen-Shot-2018-03-23-at-2.58.29-PM.png?fit=1200%2C672&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2018\/03\/Screen-Shot-2018-03-23-at-2.58.29-PM.png?fit=1200%2C672&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2018\/03\/Screen-Shot-2018-03-23-at-2.58.29-PM.png?fit=1200%2C672&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2018\/03\/Screen-Shot-2018-03-23-at-2.58.29-PM.png?fit=1200%2C672&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2018\/03\/Screen-Shot-2018-03-23-at-2.58.29-PM.png?fit=1200%2C672&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":6554,"url":"https:\/\/www.jitendrazaa.com\/blog\/salesforce\/salesforce-single-sign-on-sso-using-janrain\/","url_meta":{"origin":3830,"position":2},"title":"Salesforce Single Sign On (SSO) using Janrain &#8211; Video","author":"Jitendra","date":"July 22, 2018","format":false,"excerpt":"How to use Facebook, Twitter, Wechat, Microsoft, Yahoo & many more as a Identity Provider for Salesforce with the help of Janrain Auth Provider - Video included","rel":"","context":"In &quot;Salesforce&quot;","block_context":{"text":"Salesforce","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/salesforce\/"},"img":{"alt_text":"Janrain Salesforce Single Sign On Execution Flow","src":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2018\/07\/Janrain-SSO.png?fit=1200%2C572&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2018\/07\/Janrain-SSO.png?fit=1200%2C572&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2018\/07\/Janrain-SSO.png?fit=1200%2C572&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2018\/07\/Janrain-SSO.png?fit=1200%2C572&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2018\/07\/Janrain-SSO.png?fit=1200%2C572&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":4807,"url":"https:\/\/www.jitendrazaa.com\/blog\/salesforce\/salesforce-to-salesforce-integration-using-canvas\/","url_meta":{"origin":3830,"position":3},"title":"Salesforce to Salesforce integration using Canvas","author":"Jitendra","date":"September 14, 2015","format":false,"excerpt":"After writing this article Salesforce has enabled CSP (Content Security Policy) which restricts adding Salesforce in iFrame. We can add MyDomain URL as CSP whitelisting and it works only if user already logged into other Salesforce instance. However, if user is not logged into other instance , internally OAuth navigates\u2026","rel":"","context":"In &quot;Salesforce&quot;","block_context":{"text":"Salesforce","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/salesforce\/"},"img":{"alt_text":"Force.com Canvas Application Demo with Complete Source code","src":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/09\/Force.com-Canvas-Application-Demo-with-Complete-Source-code.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/09\/Force.com-Canvas-Application-Demo-with-Complete-Source-code.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/09\/Force.com-Canvas-Application-Demo-with-Complete-Source-code.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":4632,"url":"https:\/\/www.jitendrazaa.com\/blog\/salesforce\/how-to-use-login-flow-in-salesforce\/","url_meta":{"origin":3830,"position":4},"title":"How to use Login Flow in Salesforce","author":"Jitendra","date":"July 7, 2015","format":false,"excerpt":"What is Login flow in Salesforce and how to solve common yet important problem using Salesforce declarative ability only.","rel":"","context":"In &quot;Salesforce&quot;","block_context":{"text":"Salesforce","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/salesforce\/"},"img":{"alt_text":"Salesforce Login Flow Connection","src":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/07\/Salesforce-Login-Flow-Connection.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/07\/Salesforce-Login-Flow-Connection.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/07\/Salesforce-Login-Flow-Connection.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":6455,"url":"https:\/\/www.jitendrazaa.com\/blog\/salesforce\/quick-summary-of-salesforce-identity-connect-capabilities\/","url_meta":{"origin":3830,"position":5},"title":"Quick Summary of Salesforce Identity Connect Capabilities","author":"Jitendra","date":"April 19, 2018","format":false,"excerpt":"Short & quick note about Salesforce Identity product","rel":"","context":"In &quot;Salesforce&quot;","block_context":{"text":"Salesforce","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/salesforce\/"},"img":{"alt_text":"Salesforce Identity Connect","src":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2018\/04\/Salesforce-Identity-Connect.png?fit=1000%2C400&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2018\/04\/Salesforce-Identity-Connect.png?fit=1000%2C400&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2018\/04\/Salesforce-Identity-Connect.png?fit=1000%2C400&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2018\/04\/Salesforce-Identity-Connect.png?fit=1000%2C400&ssl=1&resize=700%2C400 2x"},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/posts\/3830","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/comments?post=3830"}],"version-history":[{"count":14,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/posts\/3830\/revisions"}],"predecessor-version":[{"id":5429,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/posts\/3830\/revisions\/5429"}],"wp:attachment":[{"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/media?parent=3830"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/categories?post=3830"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/tags?post=3830"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}