<?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 how to implement app login in custom web app? in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/how-to-implement-app-login-in-custom-web-app/m-p/530828#M3609</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I created map, web mapping application on ArcGIS Online and wanted to access map using this app (but app hosted on my server using app login). We can create web application using many default template on &lt;SPAN&gt;ArcGIS O&lt;/SPAN&gt;nline. we can also download source code of these JavaScript applications and can host them on own servers.But I am not able to find any example which can guide me to modify app code to use app login.&lt;/P&gt;&lt;P&gt;I already know following steps:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Register the app and get client id (app id)/client secret (app secret)&lt;/LI&gt;&lt;LI&gt;Using POST request get access token from &lt;A href="https://www.arcgis.com/sharing/rest/oauth2/token/"&gt;https://www.arcgis.com/sharing/rest/oauth2/token/&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;What next? Not sure&lt;/LI&gt;&lt;LI&gt;How to modify code in my downloaded app to access map.&lt;/LI&gt;&lt;LI&gt;Downloaded app folder structure&lt;IMG __jive_id="346766" alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/346766_arcgis_folders.jpg" style="width: 620px; height: 236px;" /&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Following are resources i refereed&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/authentication/accessing-arcgis-online-services/" title="https://developers.arcgis.com/authentication/accessing-arcgis-online-services/"&gt;Implementing App Login | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://resources.arcgis.com/en/help/arcgis-rest-api/#/Authentication/02r30000009z000000/" title="http://resources.arcgis.com/en/help/arcgis-rest-api/#/Authentication/02r30000009z000000/"&gt;ArcGIS REST API&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://doc.arcgis.com/en/arcgis-online/share-maps/add-items.htm#REG_APP" title="http://doc.arcgis.com/en/arcgis-online/share-maps/add-items.htm#REG_APP"&gt;Add items—ArcGIS Online Help | ArcGIS&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 16 Apr 2017 21:02:41 GMT</pubDate>
    <dc:creator>GirishMeena1</dc:creator>
    <dc:date>2017-04-16T21:02:41Z</dc:date>
    <item>
      <title>how to implement app login in custom web app?</title>
      <link>https://community.esri.com/t5/developers-questions/how-to-implement-app-login-in-custom-web-app/m-p/530828#M3609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I created map, web mapping application on ArcGIS Online and wanted to access map using this app (but app hosted on my server using app login). We can create web application using many default template on &lt;SPAN&gt;ArcGIS O&lt;/SPAN&gt;nline. we can also download source code of these JavaScript applications and can host them on own servers.But I am not able to find any example which can guide me to modify app code to use app login.&lt;/P&gt;&lt;P&gt;I already know following steps:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Register the app and get client id (app id)/client secret (app secret)&lt;/LI&gt;&lt;LI&gt;Using POST request get access token from &lt;A href="https://www.arcgis.com/sharing/rest/oauth2/token/"&gt;https://www.arcgis.com/sharing/rest/oauth2/token/&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;What next? Not sure&lt;/LI&gt;&lt;LI&gt;How to modify code in my downloaded app to access map.&lt;/LI&gt;&lt;LI&gt;Downloaded app folder structure&lt;IMG __jive_id="346766" alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/346766_arcgis_folders.jpg" style="width: 620px; height: 236px;" /&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Following are resources i refereed&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/authentication/accessing-arcgis-online-services/" title="https://developers.arcgis.com/authentication/accessing-arcgis-online-services/"&gt;Implementing App Login | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://resources.arcgis.com/en/help/arcgis-rest-api/#/Authentication/02r30000009z000000/" title="http://resources.arcgis.com/en/help/arcgis-rest-api/#/Authentication/02r30000009z000000/"&gt;ArcGIS REST API&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://doc.arcgis.com/en/arcgis-online/share-maps/add-items.htm#REG_APP" title="http://doc.arcgis.com/en/arcgis-online/share-maps/add-items.htm#REG_APP"&gt;Add items—ArcGIS Online Help | ArcGIS&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Apr 2017 21:02:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/how-to-implement-app-login-in-custom-web-app/m-p/530828#M3609</guid>
      <dc:creator>GirishMeena1</dc:creator>
      <dc:date>2017-04-16T21:02:41Z</dc:date>
    </item>
  </channel>
</rss>

