<?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: Generating an Application Token via ArcGIS Online in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/generating-an-application-token-via-arcgis-online/m-p/1041497#M39200</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1021"&gt;@KellyGerrow&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We can get token with&amp;nbsp;&lt;A href="https://www.arcgis.com/sharing/generateToken" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.arcgis.com/sharing/generateToken&lt;/A&gt;&amp;nbsp;by POST method and following format of parameters:&amp;nbsp; f=json&amp;amp;username=USERNAME&amp;amp;password=PASSWORD&amp;amp;client=requestip&lt;/P&gt;&lt;P&gt;But when use that token to query a hosted Survey123 result feature service on&amp;nbsp;&lt;A href="https://services3.arcgis.com%2C/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://services3.arcgis.com,&lt;/A&gt;&amp;nbsp;got following error: {"error":{"code":498,"message":"Invalid token.","details":["Invalid token."]}}&lt;/P&gt;&lt;P&gt;Any help? Thanks.&lt;/P&gt;</description>
    <pubDate>Mon, 29 Mar 2021 13:10:14 GMT</pubDate>
    <dc:creator>ArthurXiao</dc:creator>
    <dc:date>2021-03-29T13:10:14Z</dc:date>
    <item>
      <title>Generating an Application Token via ArcGIS Online</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/generating-an-application-token-via-arcgis-online/m-p/194216#M9539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to generate a token to apply to an AWAB application URL hosted via an ArcGIS Online organisation so that I can provide an AGOL AWAB to a group of external users. &amp;nbsp;Via Portal I'd use the GenerateToken option via the Portal sharing API, i.e. &lt;A href="https://{portalname}/portal/sharing/generateToken"&gt;https://{portalname}/portal/sharing/generateToken&lt;/A&gt;, giving me something like URL&amp;amp;token=abcdefg....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this doable via an AGOL organisation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Dec 2017 22:47:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/generating-an-application-token-via-arcgis-online/m-p/194216#M9539</guid>
      <dc:creator>MarkJones8</dc:creator>
      <dc:date>2017-12-28T22:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: Generating an Application Token via ArcGIS Online</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/generating-an-application-token-via-arcgis-online/m-p/194217#M9540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This isn't recommended as any user can then use the token to access any part of your organization, data, users, functionality as you. This could potentially be a large security hole.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are looking to share your application, consider sharing the application publicly or creating a group and sharing the app, data and web map only with the group of users that should access it. They will require an ArcGIS Online account in order to use this security method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a link to some developer Authentication help:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/labs/rest/get-an-access-token/" title="https://developers.arcgis.com/labs/rest/get-an-access-token/"&gt;Get an access token | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/community/gis/web-gis/web-appbuilder?sr=search&amp;amp;searchId=28c29a76-9158-4eea-8d60-52e547733365&amp;amp;searchIndex=3"&gt;https://community.esri.com/community/gis/web-gis/web-appbuilder?sr=search&amp;amp;searchId=28c29a76-9158-4eea-8d60-52e547733365&amp;amp;searchIndex=3&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;-Kelly&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Dec 2017 19:01:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/generating-an-application-token-via-arcgis-online/m-p/194217#M9540</guid>
      <dc:creator>KellyGerrow</dc:creator>
      <dc:date>2017-12-29T19:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: Generating an Application Token via ArcGIS Online</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/generating-an-application-token-via-arcgis-online/m-p/1041497#M39200</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1021"&gt;@KellyGerrow&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We can get token with&amp;nbsp;&lt;A href="https://www.arcgis.com/sharing/generateToken" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.arcgis.com/sharing/generateToken&lt;/A&gt;&amp;nbsp;by POST method and following format of parameters:&amp;nbsp; f=json&amp;amp;username=USERNAME&amp;amp;password=PASSWORD&amp;amp;client=requestip&lt;/P&gt;&lt;P&gt;But when use that token to query a hosted Survey123 result feature service on&amp;nbsp;&lt;A href="https://services3.arcgis.com%2C/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://services3.arcgis.com,&lt;/A&gt;&amp;nbsp;got following error: {"error":{"code":498,"message":"Invalid token.","details":["Invalid token."]}}&lt;/P&gt;&lt;P&gt;Any help? Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Mar 2021 13:10:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/generating-an-application-token-via-arcgis-online/m-p/1041497#M39200</guid>
      <dc:creator>ArthurXiao</dc:creator>
      <dc:date>2021-03-29T13:10:14Z</dc:date>
    </item>
  </channel>
</rss>

