<?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 Redirect url to open Publicly Shared WAB as login user in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/redirect-url-to-open-publicly-shared-wab-as-login/m-p/698589#M18413</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Details:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;AGOL is an org site&lt;/LI&gt;&lt;LI&gt;Deployed WAB product created with WAB Developer 2.5&lt;/LI&gt;&lt;LI&gt;WAB deployed to our domain&lt;/LI&gt;&lt;LI&gt;Deployed WAB's AGOL item is&amp;nbsp;shared publicly&lt;/LI&gt;&lt;LI&gt;WAB opens as desired from the url just fine&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question: Is there a way to open this WAB in a way that immediately takes the user to our AGOL org login (oAuth)?&amp;nbsp; That is, we'd like to launch this WAB as if it is not shared publicly thereby redirecting to the oAuth login.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Reason: We want our internal users to open this WAB by logging in first.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://orgdomain.maps.arcgis.com/sharing/oauth2/authorize?client_id=UyH4sddQUW7TqrBMgJTC&amp;amp;response_type=token&amp;amp;state=%7B%22portalUrl%22%3A%22http%3A%2F%2Forgdomain.maps.arcgis.com%22%7D&amp;amp;expiration=20159&amp;amp;redirect_uri=https%3A%2F%2Fapps.orgdomain.com%2FWABFolder%2FAPPNAME%2Findex.html"&gt;https://orgdomain.maps.arcgis.com/sharing/oauth2/authorize?client_id=UyH4sddQUW7TqrBMgJTC&amp;amp;response_type=token&amp;amp;state=%7B%22portalUrl%22%3A%22http%3A%2F%2Forgdomain.maps.arcgis.com%22%7D&amp;amp;expiration=20159&amp;amp;redirect_uri=https%3A%2F%2Fapps.orgdomain.com%2FWABFolder%2FAPPNAME%2Findex.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Dec 2017 15:31:17 GMT</pubDate>
    <dc:creator>JamesCrandall</dc:creator>
    <dc:date>2017-12-21T15:31:17Z</dc:date>
    <item>
      <title>Redirect url to open Publicly Shared WAB as login user</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/redirect-url-to-open-publicly-shared-wab-as-login/m-p/698589#M18413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Details:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;AGOL is an org site&lt;/LI&gt;&lt;LI&gt;Deployed WAB product created with WAB Developer 2.5&lt;/LI&gt;&lt;LI&gt;WAB deployed to our domain&lt;/LI&gt;&lt;LI&gt;Deployed WAB's AGOL item is&amp;nbsp;shared publicly&lt;/LI&gt;&lt;LI&gt;WAB opens as desired from the url just fine&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question: Is there a way to open this WAB in a way that immediately takes the user to our AGOL org login (oAuth)?&amp;nbsp; That is, we'd like to launch this WAB as if it is not shared publicly thereby redirecting to the oAuth login.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Reason: We want our internal users to open this WAB by logging in first.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://orgdomain.maps.arcgis.com/sharing/oauth2/authorize?client_id=UyH4sddQUW7TqrBMgJTC&amp;amp;response_type=token&amp;amp;state=%7B%22portalUrl%22%3A%22http%3A%2F%2Forgdomain.maps.arcgis.com%22%7D&amp;amp;expiration=20159&amp;amp;redirect_uri=https%3A%2F%2Fapps.orgdomain.com%2FWABFolder%2FAPPNAME%2Findex.html"&gt;https://orgdomain.maps.arcgis.com/sharing/oauth2/authorize?client_id=UyH4sddQUW7TqrBMgJTC&amp;amp;response_type=token&amp;amp;state=%7B%22portalUrl%22%3A%22http%3A%2F%2Forgdomain.maps.arcgis.com%22%7D&amp;amp;expiration=20159&amp;amp;redirect_uri=https%3A%2F%2Fapps.orgdomain.com%2FWABFolder%2FAPPNAME%2Findex.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2017 15:31:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/redirect-url-to-open-publicly-shared-wab-as-login/m-p/698589#M18413</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2017-12-21T15:31:17Z</dc:date>
    </item>
    <item>
      <title>Re: Redirect url to open Publicly Shared WAB as login user</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/redirect-url-to-open-publicly-shared-wab-as-login/m-p/698590#M18414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah I see.&amp;nbsp; The "client_id" parameter is the AppId of the AGOL item.&amp;nbsp; This works as expected:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Forgdomain.maps.arcgis.com%2Fsharing%2Foauth2%2Fauthorize%3Fclient_id%3DUyH4sddQUW7TqrBMgJTC%26response_type%3Dtoken%26state%3D%257B%2522portalUrl%2522%253A%2522http%253A%252F%252Forgdomain.maps.arcgis.com%2522%257D%26expiration%3D20159%26redirect_uri%3Dhttps%253A%252F%252Fapps.orgdomain.com%252FWABFolder%252FAPPNAME%252Findex.html" rel="nofollow" target="_blank"&gt;&lt;SPAN style="color: #0066cc; text-decoration: underline;"&gt;https://orgdomain.maps.arcgis.com/sharing/oauth2/authorize?client_id=&amp;lt;AGOL WAB AppId Value&amp;gt;&amp;amp;response_type=token&amp;amp;state=%7B%22portalUrl%22%3A%22http%3A%2F%2Forgdomain.maps.arcgis.com%22%7D&amp;amp;expiration=20159&amp;amp;redirect_uri=https%3A%2F%2Fapps.orgdomain.com%2FWABFolder%2FAPPNAME%2Findex.html&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2017 15:44:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/redirect-url-to-open-publicly-shared-wab-as-login/m-p/698590#M18414</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2017-12-21T15:44:39Z</dc:date>
    </item>
  </channel>
</rss>

