<?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: Signout portal from web app builder app in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/signout-portal-from-web-app-builder-app/m-p/809931#M6368</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Well. I have multiple application running on portal which I've customized using the web app builder and they're using portal credential to login. We create groups on portal depending upon the project need and share the maps with them. There is possibility of multiple users using the application on a system. In that case I would want my user to logout from application itself(Who is obviously not aware of portal).&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Sep 2017 04:41:51 GMT</pubDate>
    <dc:creator>akshayloya</dc:creator>
    <dc:date>2017-09-18T04:41:51Z</dc:date>
    <item>
      <title>Signout portal from web app builder app</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/signout-portal-from-web-app-builder-app/m-p/809929#M6366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Has anyone implemented a logout system for the ArcGIS Portal&amp;nbsp;credentials in their web app builder app?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2017 07:04:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/signout-portal-from-web-app-builder-app/m-p/809929#M6366</guid>
      <dc:creator>akshayloya</dc:creator>
      <dc:date>2017-09-14T07:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: Signout portal from web app builder app</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/signout-portal-from-web-app-builder-app/m-p/809930#M6367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;Akshay,&lt;/P&gt;&lt;P class=""&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp; &amp;nbsp;I have never thought that there is a need for that. What is you reasoning for wanting it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2017 11:49:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/signout-portal-from-web-app-builder-app/m-p/809930#M6367</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-09-14T11:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: Signout portal from web app builder app</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/signout-portal-from-web-app-builder-app/m-p/809931#M6368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Well. I have multiple application running on portal which I've customized using the web app builder and they're using portal credential to login. We create groups on portal depending upon the project need and share the maps with them. There is possibility of multiple users using the application on a system. In that case I would want my user to logout from application itself(Who is obviously not aware of portal).&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 04:41:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/signout-portal-from-web-app-builder-app/m-p/809931#M6368</guid>
      <dc:creator>akshayloya</dc:creator>
      <dc:date>2017-09-18T04:41:51Z</dc:date>
    </item>
    <item>
      <title>Re: Signout portal from web app builder app</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/signout-portal-from-web-app-builder-app/m-p/809932#M6369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Akshay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What theme are you using? If you are using a theme that has the HeaderController widget then you can programatically call&amp;nbsp;the Header Controller Widgets _onSignoutClick function to sign out. If not then you can look at that code to see that you can use the tokenUtils call and call tokenUtils.signOutAll method.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 13:00:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/signout-portal-from-web-app-builder-app/m-p/809932#M6369</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-09-18T13:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: Signout portal from web app builder app</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/signout-portal-from-web-app-builder-app/m-p/809933#M6370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried this but seems to be not working for me then I had to use this link instead&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.ascentdatamanager.com/arcgis/sharing/rest/oauth2/signout" title="https://www.ascentdatamanager.com/arcgis/sharing/rest/oauth2/signout"&gt;https://www.ascentdatamanager.com/arcgis/sharing/rest/oauth2/signout&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which takes me to other page, which is bit annoying.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 13:33:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/signout-portal-from-web-app-builder-app/m-p/809933#M6370</guid>
      <dc:creator>akshayloya</dc:creator>
      <dc:date>2017-09-18T13:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: Signout portal from web app builder app</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/signout-portal-from-web-app-builder-app/m-p/809934#M6371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Has anybody got it worked? I am having the same issue. The sign&amp;nbsp;out function&amp;nbsp;in the web appbuilder cannot&amp;nbsp;sign out the user, as after the signout function (widget) is executed, in the web browser when navigating to the Portal page, the user is still signed in!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2017 20:17:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/signout-portal-from-web-app-builder-app/m-p/809934#M6371</guid>
      <dc:creator>JYI</dc:creator>
      <dc:date>2017-12-14T20:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: Signout portal from web app builder app</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/signout-portal-from-web-app-builder-app/m-p/809935#M6372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As&amp;nbsp;@akshay loya stated above,&amp;nbsp;&lt;A href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fwww.ascentdatamanager.com%2Farcgis%2Fsharing%2Frest%2Foauth2%2Fsignout" style="padding: 0px calc(12px + 0.35ex) 0px 0px; border: 0px currentColor; color: #287433; text-decoration: none; background-color: #ffffff;" target="_blank"&gt;https://www.ascentdatamanager.com/arcgis/sharing/rest/oauth2/signout&lt;/A&gt;will&amp;nbsp;sign the user out while showing a signout confirmation page at the same time.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In order not to display the signout conformation page, use the following code inside the Signout event:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN style="border: 0px currentColor; color: #101094; font-size: inherit; font-weight: inherit;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="border: 0px currentColor; color: #303336; font-size: inherit; font-weight: inherit;"&gt; oReq &lt;/SPAN&gt;&lt;SPAN style="border: 0px currentColor; color: #303336; font-size: inherit; font-weight: inherit;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="border: 0px currentColor; color: #303336; font-size: inherit; font-weight: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="border: 0px currentColor; color: #101094; font-size: inherit; font-weight: inherit;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="border: 0px currentColor; color: #303336; font-size: inherit; font-weight: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="border: 0px currentColor; color: #2b91af; font-size: inherit; font-weight: inherit;"&gt;XMLHttpRequest&lt;/SPAN&gt;&lt;SPAN style="border: 0px currentColor; color: #303336; font-size: inherit; font-weight: inherit;"&gt;();
&lt;/SPAN&gt;&lt;SPAN style="border: 0px currentColor; color: #303336; font-size: inherit; font-weight: inherit;"&gt;oReq&lt;/SPAN&gt;&lt;SPAN style="border: 0px currentColor; color: #303336; font-size: inherit; font-weight: inherit;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="border: 0px currentColor; color: #303336; font-size: inherit; font-weight: inherit;"&gt;open&lt;/SPAN&gt;&lt;SPAN style="border: 0px currentColor; color: #303336; font-size: inherit; font-weight: inherit;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="border: 0px currentColor; color: #7d2727; font-size: inherit; font-weight: inherit;"&gt;"get"&lt;/SPAN&gt;&lt;SPAN style="border: 0px currentColor; color: #303336; font-size: inherit; font-weight: inherit;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="border: 0px currentColor; color: #303336; font-size: inherit; font-weight: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="border: 0px currentColor; color: #7d2727; font-size: inherit; font-weight: inherit;"&gt;"&lt;A class="link-titled" href="https://www.ascentdatamanager.com/arcgis/sharing/rest/oauth2/signout" title="https://www.ascentdatamanager.com/arcgis/sharing/rest/oauth2/signout" rel="nofollow noopener noreferrer" target="_blank"&gt;https://www.ascentdatamanager.com/arcgis/sharing/rest/oauth2/signout&lt;/A&gt;"&lt;/SPAN&gt;&lt;SPAN style="border: 0px currentColor; color: #303336; font-size: inherit; font-weight: inherit;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="border: 0px currentColor; color: #303336; font-size: inherit; font-weight: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="border: 0px currentColor; color: #101094; font-size: inherit; font-weight: inherit;"&gt;false&lt;/SPAN&gt;&lt;SPAN style="border: 0px currentColor; color: #303336; font-size: inherit; font-weight: inherit;"&gt;);
oReq.setRequestHeader('Content-Type', 'text/xml');// this is required for Google Chrome
&lt;/SPAN&gt;&lt;SPAN style="border: 0px currentColor; color: #303336; font-size: inherit; font-weight: inherit;"&gt;oReq&lt;/SPAN&gt;&lt;SPAN style="border: 0px currentColor; color: #303336; font-size: inherit; font-weight: inherit;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="border: 0px currentColor; color: #303336; font-size: inherit; font-weight: inherit;"&gt;send&lt;/SPAN&gt;&lt;SPAN style="border: 0px currentColor; color: #303336; font-size: inherit; font-weight: inherit;"&gt;();&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Reference:&amp;nbsp;&lt;A class="link-titled" href="https://stackoverflow.com/questions/26555848/calling-client-side-url-from-browser-without-opening-new-page" title="https://stackoverflow.com/questions/26555848/calling-client-side-url-from-browser-without-opening-new-page" rel="nofollow noopener noreferrer" target="_blank"&gt;javascript - Calling client side URL from browser without opening new page - Stack Overflow&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is just a nice workaound. Why the&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;sign&amp;nbsp;out function&amp;nbsp;in the web appbuilder does not work, don't know yet.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 09:29:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/signout-portal-from-web-app-builder-app/m-p/809935#M6372</guid>
      <dc:creator>JYI</dc:creator>
      <dc:date>2021-12-12T09:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: Signout portal from web app builder app</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/signout-portal-from-web-app-builder-app/m-p/809936#M6373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found a really good workaround.&lt;/P&gt;&lt;P&gt;Add a link, title it "logout" and link to &lt;A class="link-titled" href="https://calfire-forestry.maps.arcgis.com/home/pages/Account/manage_accounts.html#client_id=arcgisonline&amp;amp;signout=true" title="https://calfire-forestry.maps.arcgis.com/home/pages/Account/manage_accounts.html#client_id=arcgisonline&amp;amp;signout=true"&gt;https://arcgis.com/home/pages/Account/manage_accounts.html#client_id=arcgisonline&amp;amp;signout=true&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2018 22:18:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/signout-portal-from-web-app-builder-app/m-p/809936#M6373</guid>
      <dc:creator>PLS_KateGladstein</dc:creator>
      <dc:date>2018-04-09T22:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: Signout portal from web app builder app</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/signout-portal-from-web-app-builder-app/m-p/809937#M6374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a similar workaround for loging a user out of a AGOL hosted Web application Builder App?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2018 16:01:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/signout-portal-from-web-app-builder-app/m-p/809937#M6374</guid>
      <dc:creator>ChristopherMcClain</dc:creator>
      <dc:date>2018-11-13T16:01:10Z</dc:date>
    </item>
  </channel>
</rss>

