<?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: Login loop on deployed WAB Apps all of a sudden in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/login-loop-on-deployed-wab-apps-all-of-a-sudden/m-p/1127562#M21702</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/184441"&gt;@Wei_Ying&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Same endless loop occurs also to us. I use Web AppBuilder Developer Edition 2.22 to develop web apps with custom widgets, and as I use ESRI JS API 4.18, I get endless login loop.&lt;/P&gt;&lt;P&gt;Explanation:&lt;/P&gt;&lt;P&gt;I am currently limited to ESRI js API 4.18, since &lt;SPAN&gt;SAML login is not working in Web AppBuilder Developer Edition&lt;/SPAN&gt;&amp;nbsp;with JS API versions newer than 4.18 [this issue has ESRI Bug Number&amp;nbsp;&lt;SPAN&gt;BUG-000142159].&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We upgraded the neterprise server to&amp;nbsp;10.9.1, and from that moment, JS API 4.18 enter endless login loops (newer API versions work ok, but as I explained above, we must currently use JS API 4.18)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I will appreciate a solution.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 20 Dec 2021 10:37:53 GMT</pubDate>
    <dc:creator>MichaelLev</dc:creator>
    <dc:date>2021-12-20T10:37:53Z</dc:date>
    <item>
      <title>Login loop on deployed WAB Apps all of a sudden</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/login-loop-on-deployed-wab-apps-all-of-a-sudden/m-p/1125994#M21681</link>
      <description>&lt;P&gt;Hello all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;We recently upgraded our enterprise from 10.9 to 10.9.1 and I'm not sure if this is related but now all of my server deployed WAB Apps are stuck in a login loop (anything accessed through the portal is totally fine).&amp;nbsp; &amp;nbsp;I initially thought this might be due to using older version of WAB to build them so I updated my WAB to 2.21 (i tried 2.22 but had issues with the install).&amp;nbsp; &amp;nbsp; However, any new Apps I create in 2.21 now request an additional login for the web map item.&amp;nbsp;&amp;nbsp;I have recreated and reregistered the WAB developer application on my portal but this doesn't help.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any Ideas?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Dec 2021 18:15:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/login-loop-on-deployed-wab-apps-all-of-a-sudden/m-p/1125994#M21681</guid>
      <dc:creator>Rayn</dc:creator>
      <dc:date>2021-12-14T18:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: Login loop on deployed WAB Apps all of a sudden</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/login-loop-on-deployed-wab-apps-all-of-a-sudden/m-p/1126170#M21684</link>
      <description>&lt;P&gt;Hi Rayn,&lt;/P&gt;&lt;P&gt;This problem should be fixed in developer edition 2.23 which will be release soon on January.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Wei&lt;/P&gt;</description>
      <pubDate>Wed, 15 Dec 2021 06:21:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/login-loop-on-deployed-wab-apps-all-of-a-sudden/m-p/1126170#M21684</guid>
      <dc:creator>Wei_Ying</dc:creator>
      <dc:date>2021-12-15T06:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: Login loop on deployed WAB Apps all of a sudden</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/login-loop-on-deployed-wab-apps-all-of-a-sudden/m-p/1126356#M21687</link>
      <description>&lt;P&gt;Hi Wei,&amp;nbsp;&lt;/P&gt;&lt;P&gt;This will fix any new WAB dev applications but how do i resolve the endless login loop affecting our current WAB applications on our server?&amp;nbsp; These were all created with a mix of v2.15-v2.18 builds.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Rayn&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Dec 2021 18:03:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/login-loop-on-deployed-wab-apps-all-of-a-sudden/m-p/1126356#M21687</guid>
      <dc:creator>Rayn</dc:creator>
      <dc:date>2021-12-15T18:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: Login loop on deployed WAB Apps all of a sudden</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/login-loop-on-deployed-wab-apps-all-of-a-sudden/m-p/1127047#M21693</link>
      <description>&lt;P&gt;Hi Rayn,&lt;/P&gt;&lt;P&gt;Would you mind to share screen with me about the problem or share me a repro video?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please contact me at wying@esri.com.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Wei&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Dec 2021 04:38:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/login-loop-on-deployed-wab-apps-all-of-a-sudden/m-p/1127047#M21693</guid>
      <dc:creator>Wei_Ying</dc:creator>
      <dc:date>2021-12-17T04:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: Login loop on deployed WAB Apps all of a sudden</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/login-loop-on-deployed-wab-apps-all-of-a-sudden/m-p/1127406#M21700</link>
      <description>&lt;P&gt;Hi Wei,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I ended up working with ESRI tech support to resolve this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rayn&lt;/P&gt;</description>
      <pubDate>Sat, 18 Dec 2021 15:31:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/login-loop-on-deployed-wab-apps-all-of-a-sudden/m-p/1127406#M21700</guid>
      <dc:creator>Rayn</dc:creator>
      <dc:date>2021-12-18T15:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: Login loop on deployed WAB Apps all of a sudden</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/login-loop-on-deployed-wab-apps-all-of-a-sudden/m-p/1127421#M21701</link>
      <description>&lt;P&gt;Hi Rayn,&lt;/P&gt;&lt;P&gt;I'm experiencing the same issue after upgrading to 10.9.1 with my server WAB Apps.&amp;nbsp; Could you share the solution given by ESRI tech support?&lt;/P&gt;</description>
      <pubDate>Sun, 19 Dec 2021 03:56:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/login-loop-on-deployed-wab-apps-all-of-a-sudden/m-p/1127421#M21701</guid>
      <dc:creator>ChrisMartin8</dc:creator>
      <dc:date>2021-12-19T03:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: Login loop on deployed WAB Apps all of a sudden</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/login-loop-on-deployed-wab-apps-all-of-a-sudden/m-p/1127562#M21702</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/184441"&gt;@Wei_Ying&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Same endless loop occurs also to us. I use Web AppBuilder Developer Edition 2.22 to develop web apps with custom widgets, and as I use ESRI JS API 4.18, I get endless login loop.&lt;/P&gt;&lt;P&gt;Explanation:&lt;/P&gt;&lt;P&gt;I am currently limited to ESRI js API 4.18, since &lt;SPAN&gt;SAML login is not working in Web AppBuilder Developer Edition&lt;/SPAN&gt;&amp;nbsp;with JS API versions newer than 4.18 [this issue has ESRI Bug Number&amp;nbsp;&lt;SPAN&gt;BUG-000142159].&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We upgraded the neterprise server to&amp;nbsp;10.9.1, and from that moment, JS API 4.18 enter endless login loops (newer API versions work ok, but as I explained above, we must currently use JS API 4.18)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I will appreciate a solution.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 10:37:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/login-loop-on-deployed-wab-apps-all-of-a-sudden/m-p/1127562#M21702</guid>
      <dc:creator>MichaelLev</dc:creator>
      <dc:date>2021-12-20T10:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: Login loop on deployed WAB Apps all of a sudden</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/login-loop-on-deployed-wab-apps-all-of-a-sudden/m-p/1127568#M21703</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/323563"&gt;@Rayn&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;As I wrote here in another reply, I have the same problem (JS API 4.18 on WAB app on enterprise 10.9.1 enters endless login loop).&lt;/P&gt;&lt;P&gt;As you wrote that you addressed&amp;nbsp;&lt;SPAN&gt;ESRI tech support&amp;nbsp;- is there a solution that you can tell me about?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Michael&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 11:03:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/login-loop-on-deployed-wab-apps-all-of-a-sudden/m-p/1127568#M21703</guid>
      <dc:creator>MichaelLev</dc:creator>
      <dc:date>2021-12-20T11:03:39Z</dc:date>
    </item>
    <item>
      <title>Re: Login loop on deployed WAB Apps all of a sudden</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/login-loop-on-deployed-wab-apps-all-of-a-sudden/m-p/1127612#M21704</link>
      <description>&lt;P&gt;Upgrading the apps to v2.21 resolved the login loop for me. We previously didnt have to have the app ID in the application config but apparently now you do.&amp;nbsp; That resolved the extra login issue i was also having.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 14:10:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/login-loop-on-deployed-wab-apps-all-of-a-sudden/m-p/1127612#M21704</guid>
      <dc:creator>Rayn</dc:creator>
      <dc:date>2021-12-20T14:10:02Z</dc:date>
    </item>
    <item>
      <title>Re: Login loop on deployed WAB Apps all of a sudden</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/login-loop-on-deployed-wab-apps-all-of-a-sudden/m-p/1127669#M21705</link>
      <description>&lt;P&gt;Thank you for the quick response.&amp;nbsp; I'll get the upgrade a try.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 16:26:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/login-loop-on-deployed-wab-apps-all-of-a-sudden/m-p/1127669#M21705</guid>
      <dc:creator>ChrisMartin8</dc:creator>
      <dc:date>2021-12-20T16:26:32Z</dc:date>
    </item>
    <item>
      <title>Re: Login loop on deployed WAB Apps all of a sudden</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/login-loop-on-deployed-wab-apps-all-of-a-sudden/m-p/1127719#M21706</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/323563"&gt;@Rayn&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Indeed setting "appId" in config to the portal's application id, solved the problem fo JS API 4.18. For higher js API versions, "appId" can remain empty.&lt;/P&gt;&lt;P&gt;I did it using WAB Developer Edition version 2.22 to create my web app, while changing in env.js to use the JS API version 4.18&lt;/P&gt;&lt;P&gt;Only pay attention - When WAB version 2.22 creates the zip, in empties the config "appId" !!&lt;BR /&gt;You must "refill" it again after unziping !!&lt;/P&gt;&lt;P&gt;We still use JS Api 4.18, since in newer versions,&amp;nbsp;&lt;SPAN&gt;SAML login is not working in Web AppBuilder Developer Edition v2.20 and above after deploying the application on IIS.&lt;/SPAN&gt;&amp;nbsp;(This has been reported as&amp;nbsp;Bug Number: BUG-000142159).&lt;/P&gt;</description>
      <pubDate>Tue, 21 Dec 2021 02:56:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/login-loop-on-deployed-wab-apps-all-of-a-sudden/m-p/1127719#M21706</guid>
      <dc:creator>MichaelLev</dc:creator>
      <dc:date>2021-12-21T02:56:04Z</dc:date>
    </item>
    <item>
      <title>Re: Login loop on deployed WAB Apps all of a sudden</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/login-loop-on-deployed-wab-apps-all-of-a-sudden/m-p/1137391#M21841</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/36894"&gt;@MichaelLev&lt;/a&gt;&amp;nbsp;, have you solve the issue with you?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jan 2022 14:53:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/login-loop-on-deployed-wab-apps-all-of-a-sudden/m-p/1137391#M21841</guid>
      <dc:creator>OliviaZ_Meowth</dc:creator>
      <dc:date>2022-01-26T14:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: Login loop on deployed WAB Apps all of a sudden</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/login-loop-on-deployed-wab-apps-all-of-a-sudden/m-p/1139232#M21872</link>
      <description>&lt;P&gt;I ran into the same issue using 3.22 version of the JavaScript API and WebApp Builder.&amp;nbsp; Updating the API version on the env.js page to the latest (3.39) fixed this for me.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Feb 2022 01:06:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/login-loop-on-deployed-wab-apps-all-of-a-sudden/m-p/1139232#M21872</guid>
      <dc:creator>Cotter</dc:creator>
      <dc:date>2022-02-01T01:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: Login loop on deployed WAB Apps all of a sudden</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/login-loop-on-deployed-wab-apps-all-of-a-sudden/m-p/1140080#M21880</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/323563"&gt;@Rayn&lt;/a&gt;&amp;nbsp;, &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/523243"&gt;@OliviaZ_Meowth&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry for the delay.&lt;/P&gt;&lt;P&gt;Problem is solved - Last 4.* js Api versions require that "AppId" in the main config.json file will not be empty string, but the real AppId of the WAB application in the portal.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem occurred since pressing the download button in the WAB Developer Edition in order to create the zip file, automatically empties the AppId value in the config (in the zip file), so we must expand the zip, re-insert AppId value in the config, then use the app folders tree or re-create the zip manually.&lt;/P&gt;&lt;P&gt;This solution appears also in my question&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/single-sign-on-sso-stopped-working-after-upgrading/m-p/1131955" target="_blank" rel="noopener"&gt;Single Sign-On (SSO) stopped working after upgrading WAB from 2.17 to 2.20 due to bug in API 4.19 and 4.20&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Feb 2022 21:03:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/login-loop-on-deployed-wab-apps-all-of-a-sudden/m-p/1140080#M21880</guid>
      <dc:creator>MichaelLev</dc:creator>
      <dc:date>2022-02-02T21:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: Login loop on deployed WAB Apps all of a sudden</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/login-loop-on-deployed-wab-apps-all-of-a-sudden/m-p/1212777#M22498</link>
      <description>&lt;P&gt;Hi Michael, I faced the same problem and I have tried your solution&amp;nbsp; to overcome the problem by changing the JS API version in env and adding the appID, unfortunately it seems not working out for some widget.&amp;nbsp; Currently, I deployed the application in ArcGIS Enterprise 10.9 with WAB 2.24. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I meant by some widget is that when i try to click on other Widget such as NearMe, Bookmarks, Legend or Layer List widgets, it shows no sign in prompt but when I clicked on&amp;nbsp; Screening Widget, the prompt sign in will pop up. When I clicked on Sign-in, it will shows Invalid Redirect.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="layerlist.jpg" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/51254i6DAAE5CE1397A1BD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="layerlist.jpg" alt="layerlist.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; this is when i clicked on Layer List widget, no sign-in prompt&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="screening.jpg" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/51252iE58E0AB334419DD4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="screening.jpg" alt="screening.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; but when i clicked on Screening widget, the prompt will pop up.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="invalid redirect_uri.jpg" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/51253i416011F51B604DA1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="invalid redirect_uri.jpg" alt="invalid redirect_uri.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Does anyone have any ideas is it because of the Screening Widget or is it because of something else?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance everyone.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2022 04:54:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/login-loop-on-deployed-wab-apps-all-of-a-sudden/m-p/1212777#M22498</guid>
      <dc:creator>fatinorain</dc:creator>
      <dc:date>2022-09-15T04:54:36Z</dc:date>
    </item>
  </channel>
</rss>

