<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Facebook &#8211; Jitendra Zaa</title>
	<atom:link href="https://www.jitendrazaa.com/blog/tag/facebook/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.jitendrazaa.com/blog</link>
	<description>AI, Salesforce, ServiceNow &#38; Enterprise Tech Guides</description>
	<lastBuildDate>Sun, 29 Aug 2021 06:09:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
<site xmlns="com-wordpress:feed-additions:1">87744916</site><atom:link rel="search" type="application/opensearchdescription+xml" title="Search Jitendra Zaa" href="https://www.jitendrazaa.com/blog/wp-json/opensearch/1.1/document" />	<item>
		<title>Point &#038; Click Based Integration Between Facebook Messenger And Salesforce In 5 Minutes</title>
		<link>https://www.jitendrazaa.com/blog/salesforce/point-click-based-integration-between-facebook-messenger-and-salesforce-in-5-minutes/</link>
					<comments>https://www.jitendrazaa.com/blog/salesforce/point-click-based-integration-between-facebook-messenger-and-salesforce-in-5-minutes/#comments</comments>
		
		<dc:creator><![CDATA[Jitendra]]></dc:creator>
		<pubDate>Sun, 29 Aug 2021 06:09:35 +0000</pubDate>
				<category><![CDATA[Salesforce]]></category>
		<category><![CDATA[DE]]></category>
		<category><![CDATA[Digital Engagement]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[Facebook Messenger]]></category>
		<category><![CDATA[Integration]]></category>
		<category><![CDATA[Omni Channel]]></category>
		<category><![CDATA[Service Cloud]]></category>
		<guid isPermaLink="false">https://www.jitendrazaa.com/blog/?p=7286</guid>

					<description><![CDATA[How to setup Facebook Messenger and Service Cloud in Salesforce within 5 Minutes Using Digital Engagement &#038; No Code Approach]]></description>
										<content:encoded><![CDATA[
<p class="justify">Yes, you have read it right. We would be integrating Salesforce &amp; Facebook Messenger within 5 minutes without writing any single like of code. </p>



<p class="justify">This impossible task of integrating two systems seamlessly is done by Digital Engagement. If Digital Engagement is a new product for you, I would strongly recommend<a href="https://www.jitendrazaa.com/blog/salesforce/send-sms-from-salesforce-using-digital-engagement/"> reading my previous post</a>, where I covered it in a little bit more detail.</p>



<p>What do you need to set up Digital Experience? </p>



<p class="justify">You would need a business that you want to grow by leaps and bounce, its Facebook Page, Salesforce Service Cloud, and Digital Experience add-on license.</p>



<p class="justify">Once you got all these, the first step would be to enable Messaging and for that navigate to Setup | Feature Settings | Service | Messaging Settings and enable <strong>Messaging</strong>.</p>



<span id="more-7286"></span>



<p>If you are a video person, feel free to watch the below video as well</p>



<figure class="wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe title="Integrating Facebook Messenger with Salesforce" width="500" height="281" src="https://www.youtube.com/embed/VadX99qSags?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
</div></figure>



<p class="justify">Coming back to a blog post, once Messaging is enabled, click on add new Channel and select the Facebook Messenger option as shown below image. </p>



<figure class="wp-block-image size-full"><img data-recalc-dims="1" fetchpriority="high" decoding="async" width="631" height="569" src="https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2021/08/Salesforce-Digital-Engagement-Select-SMS-Channel.png?resize=631%2C569&#038;ssl=1" alt="Create Facebook Messenger Channel in Digital Experience Salesforce" class="wp-image-7281" srcset="https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2021/08/Salesforce-Digital-Engagement-Select-SMS-Channel.png?w=631&amp;ssl=1 631w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2021/08/Salesforce-Digital-Engagement-Select-SMS-Channel.png?resize=300%2C271&amp;ssl=1 300w" sizes="(max-width: 631px) 100vw, 631px" /><figcaption>Create Facebook Messenger Channel in Digital Experience Salesforce</figcaption></figure>



<p class="justify">On the next screen, you would be prompted to authenticate to your company&#8217;s Facebook account.</p>



<figure class="wp-block-image size-full"><img data-recalc-dims="1" decoding="async" width="631" height="546" src="https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2021/08/Salesforce-Digital-Engagement-Facebook-Messenger-Authenticate.png?resize=631%2C546&#038;ssl=1" alt="" class="wp-image-7287" srcset="https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2021/08/Salesforce-Digital-Engagement-Facebook-Messenger-Authenticate.png?w=631&amp;ssl=1 631w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2021/08/Salesforce-Digital-Engagement-Facebook-Messenger-Authenticate.png?resize=300%2C260&amp;ssl=1 300w" sizes="(max-width: 631px) 100vw, 631px" /><figcaption>Digital Engagement &#8211; Authenticate Facebook Messenger</figcaption></figure>



<p class="justify">On the next screen, you would be provided with a list of all pages of your Facebook account. Select one or multiple pages and provide consent.</p>



<p class="justify">From here, we have two choices. Either create a new queue in Service Cloud or reuse an existing one. In the above video, I have created a new queue and did all the basic Service Cloud Setup. </p>



<p class="justify">Now, all that is left out is to make sure your <a href="https://www.facebook.com/help/307375982614147">Facebook page has a messenger button</a> and start collecting the <a href="https://www.qualtrics.com/experience-management/customer/what-is-csat/">highest CSAT score possible</a> for your service cloud call center. </p>



<p>Feel free to leave your feedback and comment in this post. </p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.jitendrazaa.com/blog/salesforce/point-click-based-integration-between-facebook-messenger-and-salesforce-in-5-minutes/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">7286</post-id>	</item>
		<item>
		<title>Salesforce Single Sign On (SSO) using Janrain &#8211; Video</title>
		<link>https://www.jitendrazaa.com/blog/salesforce/salesforce-single-sign-on-sso-using-janrain/</link>
					<comments>https://www.jitendrazaa.com/blog/salesforce/salesforce-single-sign-on-sso-using-janrain/#comments</comments>
		
		<dc:creator><![CDATA[Jitendra]]></dc:creator>
		<pubDate>Sun, 22 Jul 2018 16:41:29 +0000</pubDate>
				<category><![CDATA[Salesforce]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[IDp Initiated SSO]]></category>
		<category><![CDATA[Janrain]]></category>
		<category><![CDATA[Single Sign On]]></category>
		<category><![CDATA[Social Login]]></category>
		<category><![CDATA[SSO]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[Video Tutorial]]></category>
		<category><![CDATA[Yahoo]]></category>
		<guid isPermaLink="false">https://www.jitendrazaa.com/blog/?p=6554</guid>

					<description><![CDATA[How to use Facebook, Twitter, Wechat, Microsoft, Yahoo &#038; many more as a Identity Provider for Salesforce with the help of Janrain Auth Provider - Video included ]]></description>
										<content:encoded><![CDATA[<p style="text-align: justify;">Salesforce supports many <strong>Auth Provider </strong>out of the box, which can be used as Identity provider. Some of the examples &#8211; Facebook, Google, Github, Salesforce, OpenId Connect , Linked In and Janrain.</p>
<p style="text-align: justify;">If you are in need to use <strong>Wechat</strong> , <strong>Yahoo</strong> or some other social account like <strong>Microsoft</strong>, don&#8217;t get disappointed. Even if they are not available out of the box as Auth Provider in Salesforce , Salesforce has provided magical box <strong>Janrain. Janrain </strong>supports vast list of social platform which can be used as Identity provider for your Salesforce instance.</p>
<p><strong>How Janrain is different compared to other SSO solutions for Salesforce</strong></p>
<p style="text-align: justify;">If we configure Identity provider for Salesforce using Single Sign On or Auth Provider, those options will appear on Login Salesforce page as a button (shown in below image).<span id="more-6554"></span></p>
<p><figure id="attachment_6557" aria-describedby="caption-attachment-6557" style="width: 792px" class="wp-caption aligncenter"><img data-recalc-dims="1" loading="lazy" decoding="async" class="size-large wp-image-6557" src="https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/07/Screen-Shot-2018-07-21-at-10.40.44-PM.png?resize=792%2C1024&#038;ssl=1" alt="Options to use multiple Identity provider on Salesforce Login Page" width="792" height="1024" srcset="https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/07/Screen-Shot-2018-07-21-at-10.40.44-PM.png?resize=792%2C1024&amp;ssl=1 792w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/07/Screen-Shot-2018-07-21-at-10.40.44-PM.png?resize=232%2C300&amp;ssl=1 232w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/07/Screen-Shot-2018-07-21-at-10.40.44-PM.png?resize=768%2C993&amp;ssl=1 768w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/07/Screen-Shot-2018-07-21-at-10.40.44-PM.png?w=1052&amp;ssl=1 1052w" sizes="auto, (max-width: 792px) 100vw, 792px" /><figcaption id="caption-attachment-6557" class="wp-caption-text">Options to use multiple Identity provider on Salesforce Login Page</figcaption></figure></p>
<p style="text-align: justify;">However, if we use <strong>Janrain</strong> as Identity provider it would not appear on Salesforce login page. <strong>Janrain</strong> gives HTML code which needs to be placed on public accessible page. If Login is success, then <strong>Janrain</strong> redirects to Salesforce SSO endpoint ending up seamless login experience as shown in <a href="https://www.jitendrazaa.com/blog/wp-content/uploads/2018/07/Janrain-Login-Flow.gif"><strong>this animated image</strong></a>.</p>
<p><figure id="attachment_6568" aria-describedby="caption-attachment-6568" style="width: 840px" class="wp-caption aligncenter"><img data-recalc-dims="1" loading="lazy" decoding="async" class="size-large wp-image-6568" src="https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/07/Screen-Shot-2018-07-21-at-11.31.11-PM.png?resize=840%2C521&#038;ssl=1" alt="Salesforce Janrain Login Widget" width="840" height="521" srcset="https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/07/Screen-Shot-2018-07-21-at-11.31.11-PM.png?resize=1024%2C635&amp;ssl=1 1024w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/07/Screen-Shot-2018-07-21-at-11.31.11-PM.png?resize=300%2C186&amp;ssl=1 300w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/07/Screen-Shot-2018-07-21-at-11.31.11-PM.png?resize=768%2C476&amp;ssl=1 768w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/07/Screen-Shot-2018-07-21-at-11.31.11-PM.png?w=1084&amp;ssl=1 1084w" sizes="auto, (max-width: 840px) 100vw, 840px" /><figcaption id="caption-attachment-6568" class="wp-caption-text">Salesforce Janrain Login Widget</figcaption></figure></p>
<p style="text-align: justify;"><a href="https://www.jitendrazaa.com/blog/wp-content/uploads/2018/07/Janrain-Login-Flow.gif"><strong>Click here for demo animated image.</strong></a></p>
<p>Note in above demo :</p>
<ul>
<li style="text-align: justify;">Single Sign On launched from local HTML file</li>
<li style="text-align: justify;">We can login using Twitter, Yahoo, AOL and other social application using Janrain</li>
</ul>
<p>Let&#8217;s see how <strong>Janrain</strong> and <strong>Salesforce</strong> can be configured</p>
<h3><strong>Step 1: Create Janrain Application</strong></h3>
<p>Create Janrain application by <a href="https://dashboard.janrain.com/">navigating this URL</a> (Its free)</p>
<h3><strong>Step 2: Create Auth Provider in Salesforce</strong></h3>
<p style="text-align: justify;">In this step, navigate to <em>Salesforce | Setup | Identity | Auth. providers | New | Janrain.</em></p>
<p style="text-align: justify;">You can keep Name and URL suffix same. Value in <em>Consumer Secret </em>would come from <em>Janrain | Your application | Setting | API Key (secret).</em></p>
<p style="text-align: justify;">For registration handler , choose auto create on save. We will update this Apex class later in this post.</p>
<p style="text-align: justify;">Select Admin User in <em>Execute Registration As . </em></p>
<p><figure id="attachment_6571" aria-describedby="caption-attachment-6571" style="width: 840px" class="wp-caption alignnone"><img data-recalc-dims="1" loading="lazy" decoding="async" class="size-large wp-image-6571" src="https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/07/Janrain-Auth-Provider-in-Salesforce.png?resize=840%2C587&#038;ssl=1" alt="Janrain Auth Provider in Salesforce" width="840" height="587" srcset="https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/07/Janrain-Auth-Provider-in-Salesforce.png?resize=1024%2C716&amp;ssl=1 1024w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/07/Janrain-Auth-Provider-in-Salesforce.png?resize=300%2C210&amp;ssl=1 300w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/07/Janrain-Auth-Provider-in-Salesforce.png?resize=768%2C537&amp;ssl=1 768w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/07/Janrain-Auth-Provider-in-Salesforce.png?resize=1200%2C839&amp;ssl=1 1200w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/07/Janrain-Auth-Provider-in-Salesforce.png?w=1542&amp;ssl=1 1542w" sizes="auto, (max-width: 840px) 100vw, 840px" /><figcaption id="caption-attachment-6571" class="wp-caption-text">Janrain Auth Provider in Salesforce</figcaption></figure></p>
<p style="text-align: justify;">Once setting saved, Salesforce would generate various SSO login URL for internal users and all Communities available in your Salesforce org. We are interested only in internal users, and therefore we are only interested in <em>Single Sign-On Callback URL, </em>we would need it later in Step 5.</p>
<p><figure id="attachment_6572" aria-describedby="caption-attachment-6572" style="width: 840px" class="wp-caption aligncenter"><img data-recalc-dims="1" loading="lazy" decoding="async" class="size-large wp-image-6572" src="https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/07/Salesforce-Auth-Provider-SSO-URL-generated.png?resize=840%2C550&#038;ssl=1" alt="Salesforce Auth Provider SSO URL generated" width="840" height="550" srcset="https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/07/Salesforce-Auth-Provider-SSO-URL-generated.png?resize=1024%2C671&amp;ssl=1 1024w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/07/Salesforce-Auth-Provider-SSO-URL-generated.png?resize=300%2C197&amp;ssl=1 300w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/07/Salesforce-Auth-Provider-SSO-URL-generated.png?resize=768%2C504&amp;ssl=1 768w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/07/Salesforce-Auth-Provider-SSO-URL-generated.png?resize=1200%2C787&amp;ssl=1 1200w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/07/Salesforce-Auth-Provider-SSO-URL-generated.png?w=1650&amp;ssl=1 1650w" sizes="auto, (max-width: 840px) 100vw, 840px" /><figcaption id="caption-attachment-6572" class="wp-caption-text">Salesforce Auth Provider SSO URL generated</figcaption></figure></p>
<h3><strong>Step 3 &#8211; Configure providers in Janrain</strong></h3>
<p style="text-align: justify;">Now in Janrain application, you can configure Social login providers like Facebook, Twitter, Yahoo etc. It can be configured by navigating to <em>Janrain | Your Application | Provider. </em>Setting up providers are very easy, you just need to follow instructions.</p>
<p><figure id="attachment_6576" aria-describedby="caption-attachment-6576" style="width: 840px" class="wp-caption aligncenter"><img data-recalc-dims="1" loading="lazy" decoding="async" class="size-large wp-image-6576" src="https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/07/Janrain-SSO-Application-Dashboard.png?resize=840%2C503&#038;ssl=1" alt="Janrain SSO Application Dashboard" width="840" height="503" srcset="https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/07/Janrain-SSO-Application-Dashboard.png?resize=1024%2C613&amp;ssl=1 1024w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/07/Janrain-SSO-Application-Dashboard.png?resize=300%2C180&amp;ssl=1 300w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/07/Janrain-SSO-Application-Dashboard.png?resize=768%2C460&amp;ssl=1 768w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/07/Janrain-SSO-Application-Dashboard.png?resize=1200%2C718&amp;ssl=1 1200w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/07/Janrain-SSO-Application-Dashboard.png?w=1988&amp;ssl=1 1988w" sizes="auto, (max-width: 840px) 100vw, 840px" /><figcaption id="caption-attachment-6576" class="wp-caption-text">Janrain SSO Application Dashboard</figcaption></figure></p>
<h5><strong>Configuring Facebook Provider in Janrain</strong></h5>
<p style="text-align: justify;">I only faced small hiccup in configuring <a href="https://developers.facebook.com/apps">facebook</a> because instruction in Janrain is pretty old. Only missing step was adding callback URL in <a href="https://developers.facebook.com/apps">facebook application</a>. Below image shows format of callback URL, you would only need to replace <em>sfdcilovesso </em>by your Janrain application name in <a href="https://developers.facebook.com/apps">facebook application</a>.</p>
<p><figure id="attachment_6573" aria-describedby="caption-attachment-6573" style="width: 840px" class="wp-caption alignnone"><img data-recalc-dims="1" loading="lazy" decoding="async" class="size-large wp-image-6573" src="https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/07/Create-Facebook-Application-for-Single-Sign-On-Salesforce-Janrain.png?resize=840%2C317&#038;ssl=1" alt="Create Facebook Application for Single Sign On - Salesforce - Janrain" width="840" height="317" srcset="https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/07/Create-Facebook-Application-for-Single-Sign-On-Salesforce-Janrain.png?resize=1024%2C386&amp;ssl=1 1024w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/07/Create-Facebook-Application-for-Single-Sign-On-Salesforce-Janrain.png?resize=300%2C113&amp;ssl=1 300w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/07/Create-Facebook-Application-for-Single-Sign-On-Salesforce-Janrain.png?resize=768%2C290&amp;ssl=1 768w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/07/Create-Facebook-Application-for-Single-Sign-On-Salesforce-Janrain.png?resize=1200%2C453&amp;ssl=1 1200w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/07/Create-Facebook-Application-for-Single-Sign-On-Salesforce-Janrain.png?w=2000&amp;ssl=1 2000w" sizes="auto, (max-width: 840px) 100vw, 840px" /><figcaption id="caption-attachment-6573" class="wp-caption-text">Create Facebook Application for Single Sign On &#8211; Salesforce &#8211; Janrain</figcaption></figure></p>
<h3>Step 4 &#8211; Get Janrain Widget Code</h3>
<p>Navigate to your Janrain application ad click on <em>Widgets and SDKs | Sign Ins. </em>Choose providers for widget and get code.</p>
<h3>Step 5 &#8211; Place Janrain Widget code in Public Site</h3>
<p style="text-align: justify;">we would need some public accessible page to place code copied in Step 4. I have used Salesforce public Site. In this code, you would need to update value for variable <em>janrain.settings.tokenUrl.</em> This would be <em>Single Sign-On Callback URL,</em> copied in Step 2. <em><span style="text-decoration: underline;"><strong>Source Code of Visualforce page is provided at end of this post.</strong></span></em></p>
<h3>Step 6 &#8211; Update Registration Handler Apex class</h3>
<p style="text-align: justify;">Registration handler Apex class was auto created in Step 2. It would need to be updated as per your requirement. One user can have multiple social accounts, so I have created custom object to store all unique identifiers of social applications configured in Janrain. This custom object would have lookup relationship with User. This object is used only in <em>createUser() </em>method, that means it would be used only first time when user would attempt to use social login. Every subsequent login attempt would use <em>updateUser() </em>method because link between third party social account and user would be established already. <em><span style="text-decoration: underline;"><strong>Source code is provided at end of this post.</strong></span></em></p>
<p style="text-align: justify;"><strong>Question : How Salesforce decides that <em>createUser() or updateUser()</em> method of Apex Registration handler needs to be executed ?</strong></p>
<p style="text-align: justify;"><strong>Ans :</strong> When user attempts to login first time in Salesforce using registration handler class, <strong><em><span style="text-decoration: underline;">createMethod</span></em></strong> is executed. Salesforce internally saves mapping between user and application against which it is authenticated, in <em><span style="text-decoration: underline;"><strong>Third-Party Account Links</strong></span></em> , found in user&#8217;s related list. In next login attempt, because of <em><span style="text-decoration: underline;"><strong>Third-Party Account Links</strong></span></em> Salesforce is able to determine that user already used Auth provider previously, so reuse that information and execute <em><strong>updateUser</strong> </em>method.</p>
<p><figure id="attachment_6566" aria-describedby="caption-attachment-6566" style="width: 840px" class="wp-caption aligncenter"><img data-recalc-dims="1" loading="lazy" decoding="async" class="size-large wp-image-6566" src="https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/07/Screen-Shot-2018-07-21-at-11.29.24-PM.png?resize=840%2C88&#038;ssl=1" alt="Salesforce Auth Provider - Third-Party Account Links related list on User object" width="840" height="88" srcset="https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/07/Screen-Shot-2018-07-21-at-11.29.24-PM.png?resize=1024%2C107&amp;ssl=1 1024w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/07/Screen-Shot-2018-07-21-at-11.29.24-PM.png?resize=300%2C31&amp;ssl=1 300w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/07/Screen-Shot-2018-07-21-at-11.29.24-PM.png?resize=768%2C80&amp;ssl=1 768w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/07/Screen-Shot-2018-07-21-at-11.29.24-PM.png?resize=1200%2C126&amp;ssl=1 1200w, https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2018/07/Screen-Shot-2018-07-21-at-11.29.24-PM.png?w=2000&amp;ssl=1 2000w" sizes="auto, (max-width: 840px) 100vw, 840px" /><figcaption id="caption-attachment-6566" class="wp-caption-text">Salesforce Auth Provider &#8211; Third-Party Account Links related list on User object</figcaption></figure></p>
<p><script src="https://gist.github.com/JitendraZaa/8f8c43c4abe25661ff2d70460ff1e181.js"></script></p>
<p><iframe loading="lazy" title="Salesforce Single Sign On (SSO) with Janrain" width="500" height="281" src="https://www.youtube.com/embed/pYwvfBeAnY4?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></p>
<p><strong>Resources :</strong></p>
<p><a href="https://help.salesforce.com/articleView?id=sso_provider_janrain.htm&amp;type=5">Official Salesforce and Janrain documentation </a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.jitendrazaa.com/blog/salesforce/salesforce-single-sign-on-sso-using-janrain/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">6554</post-id>	</item>
		<item>
		<title>Getting started with React</title>
		<link>https://www.jitendrazaa.com/blog/webtech/getting-started-with-react/</link>
					<comments>https://www.jitendrazaa.com/blog/webtech/getting-started-with-react/#comments</comments>
		
		<dc:creator><![CDATA[Jitendra]]></dc:creator>
		<pubDate>Wed, 15 Apr 2015 04:26:30 +0000</pubDate>
				<category><![CDATA[Web Technology]]></category>
		<category><![CDATA[AngularJs]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[React]]></category>
		<guid isPermaLink="false">http://www.jitendrazaa.com/blog/?p=4384</guid>

					<description><![CDATA[React is open source Javascript library used by Facebook and currently very popular amongst web developers to create user interface. React can be used as View part of MVC design pattern with powerful templating feature supported by &#8220;JavaScript syntax extension (JSX)&#8220;. React focuses on component based development where each components has its own life cycle. [&#8230;]]]></description>
										<content:encoded><![CDATA[<p style="text-align: justify;"><a title="React Framework" href="https://facebook.github.io/react/index.html">React</a> is open source Javascript library used by Facebook and currently very popular amongst web developers to create user interface. React can be used as View part of MVC design pattern with powerful templating feature supported by &#8220;<a title="JSX in Depth" href="https://facebook.github.io/react/docs/jsx-in-depth.html">JavaScript syntax extension (JSX)</a>&#8220;. React focuses on component based development where each components has its own life cycle. Once of exciting behavior of React is its unidirectional data flow from Parent to child components. React is different than <a title="Angularjs tutorials" href="https://www.jitendrazaa.com/blog/tag/angularjs/">AngularJs </a>in such a way that React passes data in unidirectional however in angularJs data must be available to $scope variable (bidirectional binding). Reusable components in AngularJs should be created as Angular directive however in React every component can be reused.</p>
<p><figure id="attachment_4390" aria-describedby="caption-attachment-4390" style="width: 286px" class="wp-caption aligncenter"><a href="https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2015/04/fbreact.png?ssl=1"><img data-recalc-dims="1" loading="lazy" decoding="async" class="size-full wp-image-4390" src="https://i0.wp.com/www.jitendrazaa.com/blog/wp-content/uploads/2015/04/fbreact.png?resize=286%2C105&#038;ssl=1" alt="React Javascript library by Facebook" width="286" height="105" /></a><figcaption id="caption-attachment-4390" class="wp-caption-text">React Javascript library by Facebook</figcaption></figure></p>
<p>In this article, I will show very simple Hello world program using React framework.</p>
<pre class="brush: xml; title: ; notranslate">
&lt;html&gt;
	&lt;head&gt;
		&lt;script src=&quot;http://fb.me/react-0.13.1.min.js&quot;&gt;&lt;/script&gt;
		&lt;script src=&quot;http://fb.me/JSXTransformer-0.13.1.js&quot;&gt;&lt;/script&gt;
	&lt;/head&gt;
	&lt;body&gt;
		&lt;div id=&quot;main&quot;&gt;&lt;/div&gt;
		&lt;script type=&quot;text/jsx&quot;&gt;
			var HelloWorld = React.createClass({
				render : function(){
					return (
						&lt;h1&gt; Hello World&lt;/h1&gt;
						);
				}
			});

			React.render(&lt;HelloWorld/&gt; , document.getElementById('main'));
		&lt;/script&gt;
	&lt;/body&gt;
&lt;/html&gt;
</pre>
<p><strong>Output :</strong> Hello World in h1 tag.<span id="more-4384"></span></p>
<p style="text-align: justify;"><strong>Explanation :</strong><br />
As you can see in above code snippet, we have used two javascript files &#8220;React&#8221; and &#8220;JSXTransformer (JSX)&#8221;. It is not mandatory to import JSX however recommended to use it so that HTML code can be written very easily inside methods. As it can be seen in return statement, we are creating h1 tag with Hello World content and this representation is possible only because of JSX.</p>
<p style="text-align: justify;">We have created component named &#8220;HelloWorld&#8221;. it is very important to note that component name should start with uppercase. Internally reacts assumes every lowercase tag as standard HTML component and uppercase tag as custom component.</p>
<p style="text-align: justify;">After creation of &#8220;HelloWorld&#8221; component, it is rendered in place of div component with id &#8220;main&#8221;.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.jitendrazaa.com/blog/webtech/getting-started-with-react/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">4384</post-id>	</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Page Caching using Disk: Enhanced 
Minified using Disk

Served from: www.jitendrazaa.com @ 2026-07-09 21:46:46 by W3 Total Cache
-->