<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>idea Authentication widget in ArcGIS Experience Builder Ideas</title>
    <link>https://community.esri.com/t5/arcgis-experience-builder-ideas/authentication-widget/idi-p/1183827</link>
    <description>&lt;P&gt;Hello ESRI,&lt;/P&gt;&lt;P&gt;Could you share the code of the widget below please. it is is the builder (top right). I think it could be pretty good to have a very good authentication widget in our Experience Builder Apps.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="henrilebon974_0-1655448653051.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/43693iE4F8AE55749000CA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="henrilebon974_0-1655448653051.png" alt="henrilebon974_0-1655448653051.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 17 Jun 2022 06:53:12 GMT</pubDate>
    <dc:creator>henrilebon974</dc:creator>
    <dc:date>2022-06-17T06:53:12Z</dc:date>
    <item>
      <title>Authentication widget</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-ideas/authentication-widget/idi-p/1183827</link>
      <description>&lt;P&gt;Hello ESRI,&lt;/P&gt;&lt;P&gt;Could you share the code of the widget below please. it is is the builder (top right). I think it could be pretty good to have a very good authentication widget in our Experience Builder Apps.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="henrilebon974_0-1655448653051.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/43693iE4F8AE55749000CA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="henrilebon974_0-1655448653051.png" alt="henrilebon974_0-1655448653051.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jun 2022 06:53:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-ideas/authentication-widget/idi-p/1183827</guid>
      <dc:creator>henrilebon974</dc:creator>
      <dc:date>2022-06-17T06:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: Authentication widget</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-ideas/authentication-widget/idc-p/1185212#M788</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/492788"&gt;@henrilebon974&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;After digging, I found this (undocumented) component:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;import { UserProfile} from 'jimu-ui';

&amp;lt;UserProfile
  className="left esri-header-account-image"
  portalUrl={this.props.portalUrl}
  user={this.props.user}
  helpUrl={this.props.config.helpUrl || this.props.portalUrl} &amp;gt;
&amp;lt;/UserProfile&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;It will pull the current user, icon, etc from the active session and update through state changes.&lt;/P&gt;&lt;P&gt;For initial login, use the &lt;A href="https://developers.arcgis.com/experience-builder/api-reference/jimu-core/SessionManager" target="_blank" rel="noopener"&gt;SessionManager&lt;/A&gt;:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;onSigninClickHandler = () =&amp;gt; {
  let sm = SessionManager.getInstance();
  sm.signIn();
}&lt;/LI-CODE&gt;&lt;P&gt;Best of luck!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jun 2022 19:11:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-ideas/authentication-widget/idc-p/1185212#M788</guid>
      <dc:creator>DougLogsdon2</dc:creator>
      <dc:date>2022-06-22T19:11:13Z</dc:date>
    </item>
    <item>
      <title>Re: Authentication widget</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-ideas/authentication-widget/idc-p/1185229#M789</link>
      <description>&lt;P&gt;Thank a lot Doug. I'm going to try that.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jun 2022 19:42:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-ideas/authentication-widget/idc-p/1185229#M789</guid>
      <dc:creator>henrilebon974</dc:creator>
      <dc:date>2022-06-22T19:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: Authentication widget</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-ideas/authentication-widget/idc-p/1192162#M820</link>
      <description>&lt;P&gt;Hi. Can you share methodology how to implement this. Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2022 10:47:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-ideas/authentication-widget/idc-p/1192162#M820</guid>
      <dc:creator>SaiBharadwaj</dc:creator>
      <dc:date>2022-07-14T10:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: Authentication widget</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-ideas/authentication-widget/idc-p/1192489#M822</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can add it in a widget like this.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="henrilebon974_0-1657898028858.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/45934iEAEB4C6028DDE0F5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="henrilebon974_0-1657898028858.png" alt="henrilebon974_0-1657898028858.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jul 2022 15:13:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-ideas/authentication-widget/idc-p/1192489#M822</guid>
      <dc:creator>henrilebon974</dc:creator>
      <dc:date>2022-07-15T15:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: Authentication widget</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-ideas/authentication-widget/idc-p/1198911#M861</link>
      <description>&lt;P&gt;Thank you very much &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/492788"&gt;@henrilebon974&lt;/a&gt;&amp;nbsp;. I will try to implement this.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2022 12:54:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-ideas/authentication-widget/idc-p/1198911#M861</guid>
      <dc:creator>SaiBharadwaj</dc:creator>
      <dc:date>2022-08-03T12:54:44Z</dc:date>
    </item>
  </channel>
</rss>

