{"id":4516,"date":"2015-05-29T15:09:49","date_gmt":"2015-05-29T15:09:49","guid":{"rendered":"http:\/\/www.jitendrazaa.com\/blog\/?p=4516"},"modified":"2017-10-03T00:02:46","modified_gmt":"2017-10-03T00:02:46","slug":"login-to-salesforce-from-salesforce-using-authentication-provider","status":"publish","type":"post","link":"https:\/\/www.jitendrazaa.com\/blog\/salesforce\/login-to-salesforce-from-salesforce-using-authentication-provider\/","title":{"rendered":"Login to Salesforce from Salesforce using Authentication Provider"},"content":{"rendered":"<p style=\"text-align: justify;\">There are many ways to login to your Salesforce instance, using Google, Facebook, Linked, Twitter and even from other Salesforce Organization. I am sure many of readers has multiple Salesforce instances and its hard to remember password of each. We can connect every Salesforce instances and login using only one. In this post we will see, how we can login to one Salesforce from other using built in <a href=\"https:\/\/help.salesforce.com\/apex\/HTViewHelpDoc?id=sso_authentication_providers.htm\">Authentication provider<\/a> from Salesforce.<\/p>\n<p style=\"text-align: justify;\">Throughout this article I will use term &#8220;service provider\u00a0<em>Salesforce instance<\/em>&#8221; for Organization where I need to go after login and &#8220;<em>Authentication Provider instance<\/em>&#8221; which will authenticate user and will act as source organization for login.<\/p>\n<p><strong>Enable MyDomain\u00a0<\/strong><\/p>\n<p style=\"text-align: justify;\">First step to start with Authentication Provider is to setup <a href=\"https:\/\/help.salesforce.com\/apex\/HTViewHelpDoc?id=domain_name_overview.htm\">my domain<\/a> in your &#8220;<em>service provider\u00a0Salesforce instance<\/em>&#8220;. This step is important so that it will display all available Authentication provider for that Salesforce instance.<\/p>\n<p><strong>Create Connected app\u00a0<\/strong><\/p>\n<p style=\"text-align: justify;\">If you want to login from Facebook, LinkedIn or any other web application, you need to inform Salesforce that those applications are legitimate and this is very important piece of OAuth2. <span style=\"text-decoration: underline;\"><em>One of major difference between OAuth1 and OAuth2<\/em><\/span> is that OAuth2 provides scope where you can set what specific permission\u00a0this Connected App will need.<\/p>\n<p style=\"text-align: justify;\">Connected App also has &#8220;Consumer Key&#8221; and &#8220;Consumer Secret&#8221; which is equivalent to &#8220;username&#8221; and &#8220;password&#8221; for that App.<\/p>\n<p style=\"text-align: justify;\">Other important setting, connected app has &#8220;<em>Callback URL<\/em>&#8220;. This is the URL where &#8220;<em>Authentication Provider instance<\/em>&#8221; should return after providing access. Even if somehow &#8220;Consumer Key&#8221; and &#8220;Consumer Secret&#8221; is compromised, it will return to Callback URL which is your application.<\/p>\n<p style=\"text-align: justify;\"><!--more--><\/p>\n<p style=\"text-align: justify;\">In this post we need &#8220;<em>service provider\u00a0Salesforce instance<\/em>&#8221; to be logged in from &#8220;<em>Authentication Provider instance<\/em>&#8220;. So &#8220;<em>Authentication Provider instance<\/em>&#8221; should\u00a0be able to identify that request is coming from &#8220;<em>service provider\u00a0Salesforce instance<\/em>&#8220;. <strong>Therefore Connected App needs to be created in &#8220;<em>service provider\u00a0Salesforce instance<\/em>&#8221; (SP).<\/strong><\/p>\n<p style=\"text-align: justify;\">To create Connected App in &#8220;<em>service provider\u00a0Salesforce instance<\/em>&#8220;, Navigate to &#8220;Setup | Build | Create | Apps | Connected Apps&#8221; and click on New. Provide All information except &#8220;Callback URL&#8221;. We will comeback again on this step later to provide Callback URL.<\/p>\n<figure id=\"attachment_4520\" aria-describedby=\"caption-attachment-4520\" style=\"width: 600px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/05\/Salesforce-Connected-App.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"wp-image-4520\" src=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/05\/Salesforce-Connected-App.png?resize=600%2C548&#038;ssl=1\" alt=\"Salesforce Connected App\" width=\"600\" height=\"548\" srcset=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/05\/Salesforce-Connected-App.png?w=849&amp;ssl=1 849w, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/05\/Salesforce-Connected-App.png?resize=300%2C274&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/05\/Salesforce-Connected-App.png?resize=624%2C570&amp;ssl=1 624w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><figcaption id=\"caption-attachment-4520\" class=\"wp-caption-text\">Salesforce Connected App<\/figcaption><\/figure>\n<p style=\"text-align: justify;\">Once you save this Connected app, it will provide &#8220;Consumer Key&#8221; and &#8220;Consumer Secret&#8221;, we need this information in next step.<\/p>\n<p><strong>Create Authorization Provider\u00a0<\/strong><\/p>\n<p><strong>Its time to create Authorization Provider in\u00a0&#8220;Authentication provider\u00a0Salesforce instance (IDP)&#8221;.<\/strong><\/p>\n<p>Navigate to &#8220;Setup | Administer | Security Controls | Auth. Providers | Create New&#8221;.<\/p>\n<p>Select &#8220;Salesforce&#8221; as provider Type.<\/p>\n<p style=\"text-align: justify;\">We need to provide &#8220;Consumer Key&#8221; and &#8220;Consumer Secret&#8221; created in previous step. Also one important setting is &#8220;<a href=\"https:\/\/help.salesforce.com\/HTViewHelpDoc?id=remoteaccess_oauth_scopes.htm&amp;language=en_US\">Default Scope<\/a>&#8220;, it should have value as &#8220;refresh_token full&#8221;. &#8220;refresh_token&#8221; and &#8220;full&#8221; should be separated by space. Authorize Endpoint URL should be something like &#8220;<span style=\"text-decoration: underline;\"><em>https:\/\/AuthenticationProviderinstance\/services\/oauth2\/authorize<\/em><\/span>&#8221; and Token Endpoint URL &#8220;<span style=\"text-decoration: underline;\"><em>https:\/\/AuthenticationProviderinstance\/services\/oauth2\/token<\/em><\/span>&#8220;.<\/p>\n<p style=\"text-align: justify;\">Click on &#8220;Automatically create a registration handler template&#8221;, it will generate one apex class, in my case auto generated apex class name is &#8220;AutocreatedRegHandler1432826053915&#8221;. Then Select User who should be used to execute this Apex class when user tries to login.<\/p>\n<figure id=\"attachment_4522\" aria-describedby=\"caption-attachment-4522\" style=\"width: 600px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/05\/Salesforce-Authentication-Provider.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"wp-image-4522\" src=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/05\/Salesforce-Authentication-Provider.png?resize=600%2C416&#038;ssl=1\" alt=\"Salesforce Authentication Provider\" width=\"600\" height=\"416\" srcset=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/05\/Salesforce-Authentication-Provider.png?w=817&amp;ssl=1 817w, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/05\/Salesforce-Authentication-Provider.png?resize=300%2C208&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/05\/Salesforce-Authentication-Provider.png?resize=624%2C432&amp;ssl=1 624w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><figcaption id=\"caption-attachment-4522\" class=\"wp-caption-text\">Salesforce Authentication Provider<\/figcaption><\/figure>\n<p><strong>Set Callback URL in Connected App\u00a0<\/strong><\/p>\n<p style=\"text-align: justify;\">Once you save &#8220;Auth. Provider&#8221; in previous step, it will provide you list of URL as shown in below image. Copy Callback URL and edit Connected App we created in\u00a0<strong><em>service provider\u00a0Salesforce instance<\/em><\/strong>\u00a0and set this URL.<\/p>\n<figure id=\"attachment_4525\" aria-describedby=\"caption-attachment-4525\" style=\"width: 600px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/05\/Salesforce-Authentication-Provider-Client-Configuration.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"wp-image-4525\" src=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/05\/Salesforce-Authentication-Provider-Client-Configuration.png?resize=600%2C215&#038;ssl=1\" alt=\"Salesforce Authentication Provider Client Configuration\" width=\"600\" height=\"215\" srcset=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/05\/Salesforce-Authentication-Provider-Client-Configuration.png?w=757&amp;ssl=1 757w, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/05\/Salesforce-Authentication-Provider-Client-Configuration.png?resize=300%2C107&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/05\/Salesforce-Authentication-Provider-Client-Configuration.png?resize=624%2C223&amp;ssl=1 624w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><figcaption id=\"caption-attachment-4525\" class=\"wp-caption-text\">Salesforce Authentication Provider Client Configuration<\/figcaption><\/figure>\n<p>you can even test your application using &#8220;Test-Only initialization URL&#8221;, however in our case we need to modify our Apex class, so need to wait.<\/p>\n<p><strong>Create field in User Object\u00a0<\/strong><\/p>\n<p style=\"text-align: justify;\">We are almost there, but we have one problem to address. When someone tries to login from &#8220;Authentication Provider instance&#8221;, how we will match which user from &#8220;Authentication Provider instance&#8221;\u00a0matched with user in &#8220;<em>service provider\u00a0Salesforce instance<\/em>&#8221; ? We will need to create one field on User object which will save username of other Salesforce instance. In this case, I have created field &#8220;Other Salesforce Org Username&#8221;. Once field is created, populate every user record so that we should be able to match them.<\/p>\n<p><strong>Update Auto generated Registration Handler Apex class\u00a0<\/strong><\/p>\n<p>Replace content of Apex class by below code, in our case class name is &#8220;AutocreatedRegHandler1432826053915&#8221;.<\/p>\n<pre class=\"brush: java; title: ; notranslate\" title=\"\">\r\n\/**\r\n*\t@Author\t\t\t:\tJitendra Zaa\r\n*\t@Date\t\t\t:\t5\/29\/2015\r\n*\t@Description \t:\tMatch User from Other Salesforce instance with this Salesforce.\r\n*\r\n**\/\r\nglobal class AutocreatedRegHandler1432826053915 implements Auth.RegistrationHandler{\r\n\t \/**\r\n\t *\tThis method is used to match existing user, If not find then we can create new User.\r\n\t *\tThis method will be executed only first time so that Salesforce can relate two users\r\n\t *\/\r\n\tglobal User createUser(Id portalId, Auth.UserData data){\r\n\t\tUser u = &#x5B;SELECT ID FROM User Where Other_Salesforce_Org_Username__c = : data.username];\r\n\t\treturn u;\r\n\t}\r\n\r\n\t\/**\r\n\t*\tOnce Users are related, after that whenever user will return, this method wil be executed.\r\n\t*\tIf needed, we can perform any information needed.\r\n\t*\tIn this blog , we are not going to perform any operation in this method.\r\n\t*\/\r\n\tglobal void updateUser(Id userId, Id portalId, Auth.UserData data){\r\n\t   \/\/No Operation\r\n\t}\r\n}\r\n<\/pre>\n<p style=\"text-align: justify;\">As you can see, this class implements interface &#8220;Auth.RegistrationHandler&#8221; which has contract for two methods named &#8220;createUser&#8221; and &#8220;updateUser&#8221;, other piece of code is commented to explain.<\/p>\n<p><strong>Add Salesforce button on Login Page\u00a0<\/strong><\/p>\n<p style=\"text-align: justify;\">Navigate to &#8220;Setup | Administer | Domain Management | My Domain | Authentication Configuration | Edit&#8221;.<\/p>\n<p style=\"text-align: justify;\">This page will provide, list of all Authentication providers like LinkedIn, Facebook, Google, In our case Salesforce.<\/p>\n<figure id=\"attachment_4526\" aria-describedby=\"caption-attachment-4526\" style=\"width: 526px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/05\/Salesforce-Authentication-Configuration-in-My-Domain.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-4526\" src=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/05\/Salesforce-Authentication-Configuration-in-My-Domain.png?resize=526%2C503&#038;ssl=1\" alt=\"Salesforce Authentication Configuration in My Domain\" width=\"526\" height=\"503\" srcset=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/05\/Salesforce-Authentication-Configuration-in-My-Domain.png?w=526&amp;ssl=1 526w, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/05\/Salesforce-Authentication-Configuration-in-My-Domain.png?resize=300%2C287&amp;ssl=1 300w\" sizes=\"auto, (max-width: 526px) 100vw, 526px\" \/><\/a><figcaption id=\"caption-attachment-4526\" class=\"wp-caption-text\">Salesforce Authentication Configuration in My Domain<\/figcaption><\/figure>\n<p style=\"text-align: justify;\">Now logout and navigate to Login page specific to your instance and you should be able to see all Authentication provider buttons for your instance. Pleas note that, Authentication provider button will not appear on &#8220;<em><span style=\"text-decoration: underline;\">https:\/\/login.salesforce.com<\/span><\/em>&#8221; page, it has to be Mydomain login URL.<\/p>\n<p style=\"text-align: justify;\">This is sample of Login page, how it will look like.<\/p>\n<figure id=\"attachment_4528\" aria-describedby=\"caption-attachment-4528\" style=\"width: 507px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/05\/Salesforce-My-Domain-Login-page.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-4528\" src=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/05\/Salesforce-My-Domain-Login-page.png?resize=507%2C536&#038;ssl=1\" alt=\"Salesforce My Domain Login page\" width=\"507\" height=\"536\" srcset=\"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/05\/Salesforce-My-Domain-Login-page.png?w=507&amp;ssl=1 507w, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/05\/Salesforce-My-Domain-Login-page.png?resize=284%2C300&amp;ssl=1 284w\" sizes=\"auto, (max-width: 507px) 100vw, 507px\" \/><\/a><figcaption id=\"caption-attachment-4528\" class=\"wp-caption-text\">Salesforce My Domain Login page<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>There are many ways to login to your Salesforce instance, using Google, Facebook, Linked, Twitter and even from other Salesforce Organization. I am sure many of readers has multiple Salesforce instances and its hard to remember password of each. We can connect every Salesforce instances and login using only one. In this post we will [&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_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":"","jetpack_post_was_ever_published":false},"categories":[9],"tags":[319,318,243,260,331],"class_list":["post-4516","post","type-post","status-publish","format-standard","hentry","category-salesforce","tag-authentication-provider","tag-login","tag-my-domain","tag-oauth","tag-salesforce"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":3830,"url":"https:\/\/www.jitendrazaa.com\/blog\/salesforce\/step-by-step-guide-to-setup-federated-authentication-saml-based-sso-in-salesforce\/","url_meta":{"origin":4516,"position":0},"title":"Step by step guide to Setup Federated Authentication (SAML) based SSO in Salesforce &#8211; Video Tutorial","author":"Jitendra","date":"April 14, 2014","format":false,"excerpt":"In this post, We will be dicussing how to setup\u00a0Federated SAML based Authentication in Salesforce. SAML stands for \"Security Assertion Markup Language\" 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\u2026","rel":"","context":"In &quot;Salesforce&quot;","block_context":{"text":"Salesforce","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/salesforce\/"},"img":{"alt_text":"Login using SAML Response from AXIOM","src":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2014\/04\/Login-using-SAML-Response-from-AXIOM.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2014\/04\/Login-using-SAML-Response-from-AXIOM.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2014\/04\/Login-using-SAML-Response-from-AXIOM.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2014\/04\/Login-using-SAML-Response-from-AXIOM.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"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":4516,"position":1},"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":4632,"url":"https:\/\/www.jitendrazaa.com\/blog\/salesforce\/how-to-use-login-flow-in-salesforce\/","url_meta":{"origin":4516,"position":2},"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":4516,"position":3},"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":[]},{"id":6554,"url":"https:\/\/www.jitendrazaa.com\/blog\/salesforce\/salesforce-single-sign-on-sso-using-janrain\/","url_meta":{"origin":4516,"position":4},"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":4532,"url":"https:\/\/www.jitendrazaa.com\/blog\/salesforce\/salesforce-to-salesforce-integration-using-named-credentials-in-just-5-lines-of-code\/","url_meta":{"origin":4516,"position":5},"title":"Salesforce to Salesforce integration using Named Credentials in 5 lines","author":"Jitendra","date":"May 29, 2015","format":false,"excerpt":"I have already written article to integrate Salesforce with other Salesforce instance around 3 years back. In last 3 years, Salesforce has changed a lot. This time I will integrate Salesforce with other Salesforce only only in 5 lines of code, can you believe it \u00a0:) ? Check my old\u2026","rel":"","context":"In &quot;Salesforce&quot;","block_context":{"text":"Salesforce","link":"https:\/\/www.jitendrazaa.com\/blog\/category\/salesforce\/"},"img":{"alt_text":"Authenticated Named Credential in Salesforce","src":"https:\/\/i0.wp.com\/www.jitendrazaa.com\/blog\/wp-content\/uploads\/2015\/05\/Authenticated-Named-Credential-in-Salesforce.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/posts\/4516","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=4516"}],"version-history":[{"count":12,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/posts\/4516\/revisions"}],"predecessor-version":[{"id":6296,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/posts\/4516\/revisions\/6296"}],"wp:attachment":[{"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/media?parent=4516"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/categories?post=4516"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jitendrazaa.com\/blog\/wp-json\/wp\/v2\/tags?post=4516"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}