<?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: How do we smooth out the self-hosted WAB app and the OAuth 'Approve' workflow? in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-do-we-smooth-out-the-self-hosted-wab-app-and/m-p/1082632#M21158</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/11168"&gt;@FredSpataro&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Greetings!&lt;/P&gt;&lt;P&gt;I have tried adding the web app into the App Launcher however it still asks me for "Permission". Do you happen to know any workaround for this issue. And yes I am using ArcGIS Online and not Enterprise.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Harsh&lt;/P&gt;</description>
    <pubDate>Mon, 26 Jul 2021 09:58:16 GMT</pubDate>
    <dc:creator>HarshvardhanSwami-Provista</dc:creator>
    <dc:date>2021-07-26T09:58:16Z</dc:date>
    <item>
      <title>How do we smooth out the self-hosted WAB app and the OAuth 'Approve' workflow?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-do-we-smooth-out-the-self-hosted-wab-app-and/m-p/197700#M5481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have number of self hosted JavaScript applications with custom widgets and functionality (these have to be self hosted correct?).&amp;nbsp; &amp;nbsp;The users are getting pretty &lt;EM style="text-decoration: underline;"&gt;&lt;STRONG&gt;annoyed&lt;/STRONG&gt;&lt;/EM&gt; with the extra clicks when opening these apps.&amp;nbsp; Right now they generally access the apps from links on the portal banner so they are already signed into the online portal.&amp;nbsp; When the browser tab opens, the application frame is loaded, then they are presented with a simple "Please sign in to continue" dialog which then takes them to a pop-up web page with the "ThisApp&amp;nbsp;&lt;SPAN style="color: #4d4d4d; background-color: #fbfbfb;"&gt;wants to access your ArcGIS Online account information" Approve dialog.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #fbfbfb;"&gt;* How do we make this a simpler user experience?&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #fbfbfb;"&gt;* Can we add code to get thru these dialogs with at least one click rather than two? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #fbfbfb;"&gt;* Why can't it "remember" that the user has Approved the app access?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #fbfbfb;"&gt;* Do we need run a local portal to make this workflow smooth?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #fbfbfb;"&gt;* We like using the online portal to create and store the "web maps" but that little bit of niceness for the admins is less a priority over the actual user experience so maybe we should drop using online web map for self hosted apps?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #fbfbfb;"&gt;I'm open to anything that make this smoother for the user i.e. they should only have to login once per session and approve once per application. We can add code, proxies, wrappers etc...&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #fbfbfb;"&gt;thanks&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; background-color: #fbfbfb;"&gt;Fred&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2018 17:04:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-do-we-smooth-out-the-self-hosted-wab-app-and/m-p/197700#M5481</guid>
      <dc:creator>FredSpataro</dc:creator>
      <dc:date>2018-06-05T17:04:01Z</dc:date>
    </item>
    <item>
      <title>Re: How do we smooth out the self-hosted WAB app and the OAuth 'Approve' workflow?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-do-we-smooth-out-the-self-hosted-wab-app-and/m-p/197701#M5482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the organization portal setting, at the bottom of the general tab there's an option to ADD APP to teh App Launcher.&amp;nbsp; This allows the app to skip thru the "Approve" dialog.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/410728_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I still get the "Please Sign On" dialog, which doesn't make sense since I'm already signed in.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2018 16:53:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-do-we-smooth-out-the-self-hosted-wab-app-and/m-p/197701#M5482</guid>
      <dc:creator>FredSpataro</dc:creator>
      <dc:date>2018-06-06T16:53:05Z</dc:date>
    </item>
    <item>
      <title>Re: How do we smooth out the self-hosted WAB app and the OAuth 'Approve' workflow?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-do-we-smooth-out-the-self-hosted-wab-app-and/m-p/197702#M5483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A little more digging and I connected some dots...&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The "Please Sign On" dialog is browser gimmick to beat the pop-up blockers.&amp;nbsp; If the user initiates the pop-up from a dialog action, the browser doesn't block the "sign/approve" portal dialog.&amp;nbsp; You can see this in the API documents:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/412214_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the solution is to change the portal configuration to use the 'in-page' mode for authorization rather than the "pop-up" mode.&amp;nbsp; This is set with on OAuthoInfo:popup property.&amp;nbsp; In WAB 2.7, this hard coded in jimu.js/tokenUtils.js line 416.&amp;nbsp; &amp;nbsp;Change from true to false.&amp;nbsp; Now when the app loads it will skip "please sign-in" dialog.&amp;nbsp; If you're logged into your portal and the 'auto-approve' is set as noted above, the app loads right away cleanly.&amp;nbsp; If not logged in or not 'auto-approved', the portal dialog will load inside the main page rather than the pop-up, which isn't as nice.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2018 20:22:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-do-we-smooth-out-the-self-hosted-wab-app-and/m-p/197702#M5483</guid>
      <dc:creator>FredSpataro</dc:creator>
      <dc:date>2018-06-25T20:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: How do we smooth out the self-hosted WAB app and the OAuth 'Approve' workflow?</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-do-we-smooth-out-the-self-hosted-wab-app-and/m-p/1082632#M21158</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/11168"&gt;@FredSpataro&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Greetings!&lt;/P&gt;&lt;P&gt;I have tried adding the web app into the App Launcher however it still asks me for "Permission". Do you happen to know any workaround for this issue. And yes I am using ArcGIS Online and not Enterprise.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Harsh&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jul 2021 09:58:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/how-do-we-smooth-out-the-self-hosted-wab-app-and/m-p/1082632#M21158</guid>
      <dc:creator>HarshvardhanSwami-Provista</dc:creator>
      <dc:date>2021-07-26T09:58:16Z</dc:date>
    </item>
  </channel>
</rss>

