<?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 Application Authentication in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/application-authentication/m-p/755742#M37080</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a public geoform which feeds into a public feature service via a public webmap.&lt;/P&gt;&lt;P&gt;The public fill in sensitive details such as contact details.&amp;nbsp; &lt;/P&gt;&lt;P&gt;This service is public and can therefore be opened up by anyone.&lt;/P&gt;&lt;P&gt;I want to make use of application authentication to keep the geoform shared to public, but access a secure service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I downloaded geoform, deployed to S3.&lt;/P&gt;&lt;P&gt;I registered this app with ArcGIS Online to get a key/secret.&lt;/P&gt;&lt;P&gt;I added this appid to the &lt;A href="https://github.com/Esri/geoform-template-js/blob/master/config/defaults.js"&gt;default.js&lt;/A&gt; in geoform:&lt;/P&gt;&lt;P&gt;"oauthappid": "11111111111111",&lt;/P&gt;&lt;P&gt;I don't have a public facing webserver so cannot host my own proxy. &lt;/P&gt;&lt;P&gt;Have added my app as an Allowed Domain and also as the redirect-uri.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When hitting &lt;A href="http://https//s3-ap-southeast-2.amazonaws.com/simonjackson/GeoFormTest/index.html"&gt;the app &lt;/A&gt;​I get a 'Token Required' error. &lt;/P&gt;&lt;P&gt;If I share the feature service to public, I can hit the app fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anyway around this without using my own proxy?&lt;/P&gt;&lt;P&gt;I was hoping I could use the ArcGIS Online hosted proxy, but this appears to only allow you to configure proxies for the esri credit consuming services.&amp;nbsp; Was hoping their would be a proxy to allow just access to the content that is also owned by the same user that registered the app.&lt;/P&gt;&lt;H2 style="font-family: 'Avenir Next W01', 'Avenir Next W00', 'Avenir Next', Avenir, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-weight: 300; margin-bottom: 1.55rem; font-size: 1.5625rem; color: #4c4c4c;"&gt;&lt;IMG alt="1.png" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/148672_1.png" style="width: 620px; height: 483px;" /&gt;&lt;/H2&gt;&lt;P&gt;Any guidance would be great.&amp;nbsp; &lt;/P&gt;&lt;P&gt;If a proxy is required, other than spinning up an EC2 instance, what is a cheaper option?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Nov 2015 06:11:37 GMT</pubDate>
    <dc:creator>SimonJackson</dc:creator>
    <dc:date>2015-11-27T06:11:37Z</dc:date>
    <item>
      <title>Application Authentication</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/application-authentication/m-p/755742#M37080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a public geoform which feeds into a public feature service via a public webmap.&lt;/P&gt;&lt;P&gt;The public fill in sensitive details such as contact details.&amp;nbsp; &lt;/P&gt;&lt;P&gt;This service is public and can therefore be opened up by anyone.&lt;/P&gt;&lt;P&gt;I want to make use of application authentication to keep the geoform shared to public, but access a secure service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I downloaded geoform, deployed to S3.&lt;/P&gt;&lt;P&gt;I registered this app with ArcGIS Online to get a key/secret.&lt;/P&gt;&lt;P&gt;I added this appid to the &lt;A href="https://github.com/Esri/geoform-template-js/blob/master/config/defaults.js"&gt;default.js&lt;/A&gt; in geoform:&lt;/P&gt;&lt;P&gt;"oauthappid": "11111111111111",&lt;/P&gt;&lt;P&gt;I don't have a public facing webserver so cannot host my own proxy. &lt;/P&gt;&lt;P&gt;Have added my app as an Allowed Domain and also as the redirect-uri.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When hitting &lt;A href="http://https//s3-ap-southeast-2.amazonaws.com/simonjackson/GeoFormTest/index.html"&gt;the app &lt;/A&gt;​I get a 'Token Required' error. &lt;/P&gt;&lt;P&gt;If I share the feature service to public, I can hit the app fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anyway around this without using my own proxy?&lt;/P&gt;&lt;P&gt;I was hoping I could use the ArcGIS Online hosted proxy, but this appears to only allow you to configure proxies for the esri credit consuming services.&amp;nbsp; Was hoping their would be a proxy to allow just access to the content that is also owned by the same user that registered the app.&lt;/P&gt;&lt;H2 style="font-family: 'Avenir Next W01', 'Avenir Next W00', 'Avenir Next', Avenir, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-weight: 300; margin-bottom: 1.55rem; font-size: 1.5625rem; color: #4c4c4c;"&gt;&lt;IMG alt="1.png" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/148672_1.png" style="width: 620px; height: 483px;" /&gt;&lt;/H2&gt;&lt;P&gt;Any guidance would be great.&amp;nbsp; &lt;/P&gt;&lt;P&gt;If a proxy is required, other than spinning up an EC2 instance, what is a cheaper option?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Nov 2015 06:11:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/application-authentication/m-p/755742#M37080</guid>
      <dc:creator>SimonJackson</dc:creator>
      <dc:date>2015-11-27T06:11:37Z</dc:date>
    </item>
  </channel>
</rss>

