<?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 Issues with Portal 10.3.1 using OAuth in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/application-authentication-issues-with-portal-10-3/m-p/533163#M49714</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am banging my head against the wall trying to resolve how to get my application to work with OAuth and Portal 10.3.1 and would love if anyone has any suggestions...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have implemented OAuth App Login for my page mainly using the example at &lt;A href="https://developers.arcgis.com/javascript/jssamples/portal_oauth_popup.html" title="https://developers.arcgis.com/javascript/jssamples/portal_oauth_popup.html"&gt;OAuth Popup | ArcGIS API for JavaScript&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My map only loads one layer, but I would prefer to keep that layer available to all users (In Portal and other apps).&amp;nbsp; It is the specific use in my application of that layer that I would like to secure.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After registering my application in my Portal,&amp;nbsp; if I set the sharing of my Application to a specific group (lets call it Group A), and then try to login to my app as a Portal user who is NOT a member of Group A, the login works!!&amp;nbsp; But it shouldn't work right?&amp;nbsp; I should be able to secure an item at the Application level, not the resource level below it.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Although I could always implement User login and secure the actual service/layer that is loaded into the map, but like I mentioned I would only like to secure the Application itself, not the endpoints of any layer I want to include&amp;nbsp; It makes maintenance much easier, and makes more business sense.&amp;nbsp; Attached is my page for testing - would love if anyone could help me work through this.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Apr 2016 17:51:19 GMT</pubDate>
    <dc:creator>Jay_Gregory</dc:creator>
    <dc:date>2016-04-08T17:51:19Z</dc:date>
    <item>
      <title>Application Authentication Issues with Portal 10.3.1 using OAuth</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/application-authentication-issues-with-portal-10-3/m-p/533163#M49714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am banging my head against the wall trying to resolve how to get my application to work with OAuth and Portal 10.3.1 and would love if anyone has any suggestions...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have implemented OAuth App Login for my page mainly using the example at &lt;A href="https://developers.arcgis.com/javascript/jssamples/portal_oauth_popup.html" title="https://developers.arcgis.com/javascript/jssamples/portal_oauth_popup.html"&gt;OAuth Popup | ArcGIS API for JavaScript&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My map only loads one layer, but I would prefer to keep that layer available to all users (In Portal and other apps).&amp;nbsp; It is the specific use in my application of that layer that I would like to secure.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After registering my application in my Portal,&amp;nbsp; if I set the sharing of my Application to a specific group (lets call it Group A), and then try to login to my app as a Portal user who is NOT a member of Group A, the login works!!&amp;nbsp; But it shouldn't work right?&amp;nbsp; I should be able to secure an item at the Application level, not the resource level below it.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Although I could always implement User login and secure the actual service/layer that is loaded into the map, but like I mentioned I would only like to secure the Application itself, not the endpoints of any layer I want to include&amp;nbsp; It makes maintenance much easier, and makes more business sense.&amp;nbsp; Attached is my page for testing - would love if anyone could help me work through this.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Apr 2016 17:51:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/application-authentication-issues-with-portal-10-3/m-p/533163#M49714</guid>
      <dc:creator>Jay_Gregory</dc:creator>
      <dc:date>2016-04-08T17:51:19Z</dc:date>
    </item>
  </channel>
</rss>

