<?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 Login to private map or app with hard-coded credentials in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/login-to-private-map-or-app-with-hard-coded/m-p/47624#M4161</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I'm trying to log in to EITHER a private web map or web app with hard-coded credentials (or getting a token).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently I have the code to get a token for a web app, through providing client_id and client_secret. However, as it seems a web app has to be fully shared, it kicks me back out to the login screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could someone point me in the right direction for how to basically do the same thing with a web map? This is all on ArcGIS Online by the way, not ArcGIS Server. I got the token generated using C#.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Jul 2016 06:02:15 GMT</pubDate>
    <dc:creator>MichaelBell8</dc:creator>
    <dc:date>2016-07-26T06:02:15Z</dc:date>
    <item>
      <title>Login to private map or app with hard-coded credentials</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/login-to-private-map-or-app-with-hard-coded/m-p/47624#M4161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I'm trying to log in to EITHER a private web map or web app with hard-coded credentials (or getting a token).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently I have the code to get a token for a web app, through providing client_id and client_secret. However, as it seems a web app has to be fully shared, it kicks me back out to the login screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could someone point me in the right direction for how to basically do the same thing with a web map? This is all on ArcGIS Online by the way, not ArcGIS Server. I got the token generated using C#.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2016 06:02:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/login-to-private-map-or-app-with-hard-coded/m-p/47624#M4161</guid>
      <dc:creator>MichaelBell8</dc:creator>
      <dc:date>2016-07-26T06:02:15Z</dc:date>
    </item>
  </channel>
</rss>

