<?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: Application OAUTH request in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/application-oauth-request/m-p/200065#M18523</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thats perfect Hani!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You will need a proxy for securing the app login. I think you are on a right Track!! :cool:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Akshay&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Apr 2014 15:16:19 GMT</pubDate>
    <dc:creator>AkshayHarshe</dc:creator>
    <dc:date>2014-04-21T15:16:19Z</dc:date>
    <item>
      <title>Application OAUTH request</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/application-oauth-request/m-p/200062#M18520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm new to ArcGIS and I'm trying to understand the authorization process.&amp;nbsp; I will be developing code in JavaScript and I already have a developer account and an application that has a clientID and Client Secret.&amp;nbsp; I won't have a specific user using the application, but rather need to allow any user do perform geocoding searches.&amp;nbsp; I think this requires an App login.&amp;nbsp; I'm not sure how these are used to authenticate against the ESRI system.&amp;nbsp; I tried to find some examples, but can't seem to find what I need.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help would be greatly appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hani&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 15:56:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/application-oauth-request/m-p/200062#M18520</guid>
      <dc:creator>HaniHelou</dc:creator>
      <dc:date>2014-04-16T15:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: Application OAUTH request</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/application-oauth-request/m-p/200063#M18521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am not sure if you have tried the resources page on AGS JS Documentation. That explains in depth about OAuth 2.0 and its functionality in depth. There are different ways to set up security and OAuth is one of them. Here are couple links which will explain OAuth in detail.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For Basic OAuth 2.0&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="https://developers.arcgis.com/javascript/jshelp/ags_secureservices.html" rel="nofollow" target="_blank"&gt;https://developers.arcgis.com/javascript/jshelp/ags_secureservices.html&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Further Details Regarding OAuth Authentication, User logins and App logins:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="https://developers.arcgis.com/authentication/user-logins.html" rel="nofollow" target="_blank"&gt;https://developers.arcgis.com/authentication/user-logins.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sample which uses OAuth:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="https://developers.arcgis.com/javascript/jssamples/portal_oauth_inline.html" rel="nofollow" target="_blank"&gt;https://developers.arcgis.com/javascript/jssamples/portal_oauth_inline.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also I will suggest keep your app Secret a &lt;/SPAN&gt;&lt;STRONG&gt;SECRET&lt;/STRONG&gt;&lt;SPAN&gt;. And do not give it to any one. If you give that information out it can be used anonymously and consume your&amp;nbsp; credits for all the processes. So it is always better to provide User log ins when you provide any secured services.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;hope this will help you to some extent.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;--&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Akshay Harshe&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Technical Support Analyst&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ESRI&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Apr 2014 21:08:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/application-oauth-request/m-p/200063#M18521</guid>
      <dc:creator>AkshayHarshe</dc:creator>
      <dc:date>2014-04-17T21:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: Application OAUTH request</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/application-oauth-request/m-p/200064#M18522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi,&lt;BR /&gt;I am not sure if you have tried the resources page on AGS JS Documentation. That explains in depth about OAuth 2.0 and its functionality in depth. There are different ways to set up security and OAuth is one of them. Here are couple links which will explain OAuth in detail.&lt;BR /&gt;&lt;BR /&gt;For Basic OAuth 2.0&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/javascript/jshelp/ags_secureservices.html"&gt;https://developers.arcgis.com/javascript/jshelp/ags_secureservices.html&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;Further Details Regarding OAuth Authentication, User logins and App logins:&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/authentication/user-logins.html"&gt;https://developers.arcgis.com/authentication/user-logins.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Sample which uses OAuth:&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/javascript/jssamples/portal_oauth_inline.html"&gt;https://developers.arcgis.com/javascript/jssamples/portal_oauth_inline.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Also I will suggest keep your app Secret a &lt;STRONG&gt;SECRET&lt;/STRONG&gt;. And do not give it to any one. If you give that information out it can be used anonymously and consume your&amp;nbsp; credits for all the processes. So it is always better to provide User log ins when you provide any secured services.&lt;BR /&gt;&lt;BR /&gt;hope this will help you to some extent.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;--&lt;BR /&gt;Akshay Harshe&lt;BR /&gt;Technical Support Analyst&lt;BR /&gt;ESRI&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks Akshay,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I understand now.&amp;nbsp; To summarize:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- To enable secure application login, I need to use a proxy in my JavaScript code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- The proxy is added using "urlUtils.addProxyRule" method.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- The proxy code can be downloaded from GitHub - &lt;/SPAN&gt;&lt;A href="https://github.com/Esri/resource-proxy/"&gt;https://github.com/Esri/resource-proxy/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The following URL provides more information on using a proxy:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/javascript/jshelp/ags_proxy.html"&gt;https://developers.arcgis.com/javascript/jshelp/ags_proxy.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think this gives me enough to go on.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hani&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Apr 2014 15:04:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/application-oauth-request/m-p/200064#M18522</guid>
      <dc:creator>HaniHelou</dc:creator>
      <dc:date>2014-04-21T15:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: Application OAUTH request</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/application-oauth-request/m-p/200065#M18523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thats perfect Hani!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You will need a proxy for securing the app login. I think you are on a right Track!! :cool:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Akshay&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Apr 2014 15:16:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/application-oauth-request/m-p/200065#M18523</guid>
      <dc:creator>AkshayHarshe</dc:creator>
      <dc:date>2014-04-21T15:16:19Z</dc:date>
    </item>
  </channel>
</rss>

