<?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>topic Re: Experience builder Webmap app SSO in ArcGIS Experience Builder Questions</title>
    <link>https://community.esri.com/t5/arcgis-experience-builder-questions/experience-builder-webmap-app-sso/m-p/1566600#M16424</link>
    <description>&lt;P&gt;If you already have a token of portal,&amp;nbsp;you can create a session and register it into ExB.&lt;BR /&gt;Reference code:&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;import { SessionManager } from 'jimu-core'
import { UserSession } from '@esri/arcgis-rest-auth'

const session = new UserSession({
  portal: portalUrl, //https://www.arcgis.com/sharing/rest/
  clientId: clientId,
  token: token,
  tokenExpires: new Date(tokenexpires),
  ssl: true,
  username: username
})
SessionManager.getInstance().addOrReplaceSession(session)
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;BR /&gt;BTW:&amp;nbsp;Which version of ExB dev edition are you using?&lt;/P&gt;</description>
    <pubDate>Tue, 10 Dec 2024 05:41:16 GMT</pubDate>
    <dc:creator>XiaodongWang</dc:creator>
    <dc:date>2024-12-10T05:41:16Z</dc:date>
    <item>
      <title>Experience builder Webmap app SSO</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/experience-builder-webmap-app-sso/m-p/1290526#M6993</link>
      <description>&lt;P&gt;Hi, I create a webmap app in experience builder and deployed in IIS. Then plan to pass token to this exp. builder app from another custom app.&amp;nbsp; Then that token will be use for login credential to exp. builder app.&lt;/P&gt;&lt;P&gt;Anyone got experience do SSO to experience builder app, without user keyin login credential.&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2023 03:08:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/experience-builder-webmap-app-sso/m-p/1290526#M6993</guid>
      <dc:creator>balan385</dc:creator>
      <dc:date>2023-05-18T03:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: Experience builder Webmap app SSO</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/experience-builder-webmap-app-sso/m-p/1566600#M16424</link>
      <description>&lt;P&gt;If you already have a token of portal,&amp;nbsp;you can create a session and register it into ExB.&lt;BR /&gt;Reference code:&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;import { SessionManager } from 'jimu-core'
import { UserSession } from '@esri/arcgis-rest-auth'

const session = new UserSession({
  portal: portalUrl, //https://www.arcgis.com/sharing/rest/
  clientId: clientId,
  token: token,
  tokenExpires: new Date(tokenexpires),
  ssl: true,
  username: username
})
SessionManager.getInstance().addOrReplaceSession(session)
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;BR /&gt;BTW:&amp;nbsp;Which version of ExB dev edition are you using?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2024 05:41:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/experience-builder-webmap-app-sso/m-p/1566600#M16424</guid>
      <dc:creator>XiaodongWang</dc:creator>
      <dc:date>2024-12-10T05:41:16Z</dc:date>
    </item>
  </channel>
</rss>

