<?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 config flex OAuth sample locally? in ArcGIS Online Developers Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-developers-questions/how-to-config-flex-oauth-sample-locally/m-p/532178#M629</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;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have download the sample "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://developers.arcgis.com/en/flex/sample-code/arcgis-com-web-map.htm" rel="nofollow" target="_blank"&gt;https://developers.arcgis.com/en/flex/sample-code/arcgis-com-web-map.htm&lt;/A&gt;&lt;SPAN&gt;" locally.Following the instructions, I added the oauth-callback.html and oauth-helper.js file to the project and modified the index.template.html.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; When I ran the sample and filled the username and password, it went to unexisted file or returned the message "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://localhost/sample/oauth-callback.html#error=invalid_request&amp;amp;error_description=Invalid%20redirect_uri" rel="nofollow" target="_blank"&gt;http://localhost/sample/oauth-callback.html#error=invalid_request&amp;amp;error_description=Invalid%20redirect_uri&lt;/A&gt;&lt;SPAN&gt;".&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; What's the problem with this? Did i miss some steps? Or I should register the sample app to my Organization first?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Oct 2013 14:25:36 GMT</pubDate>
    <dc:creator>lynnwang</dc:creator>
    <dc:date>2013-10-08T14:25:36Z</dc:date>
    <item>
      <title>How to config flex OAuth sample locally?</title>
      <link>https://community.esri.com/t5/arcgis-online-developers-questions/how-to-config-flex-oauth-sample-locally/m-p/532178#M629</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;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have download the sample "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://developers.arcgis.com/en/flex/sample-code/arcgis-com-web-map.htm" rel="nofollow" target="_blank"&gt;https://developers.arcgis.com/en/flex/sample-code/arcgis-com-web-map.htm&lt;/A&gt;&lt;SPAN&gt;" locally.Following the instructions, I added the oauth-callback.html and oauth-helper.js file to the project and modified the index.template.html.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; When I ran the sample and filled the username and password, it went to unexisted file or returned the message "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://localhost/sample/oauth-callback.html#error=invalid_request&amp;amp;error_description=Invalid%20redirect_uri" rel="nofollow" target="_blank"&gt;http://localhost/sample/oauth-callback.html#error=invalid_request&amp;amp;error_description=Invalid%20redirect_uri&lt;/A&gt;&lt;SPAN&gt;".&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; What's the problem with this? Did i miss some steps? Or I should register the sample app to my Organization first?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2013 14:25:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-developers-questions/how-to-config-flex-oauth-sample-locally/m-p/532178#M629</guid>
      <dc:creator>lynnwang</dc:creator>
      <dc:date>2013-10-08T14:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to config flex OAuth sample locally?</title>
      <link>https://community.esri.com/t5/arcgis-online-developers-questions/how-to-config-flex-oauth-sample-locally/m-p/532179#M630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Did you register &lt;/SPAN&gt;&lt;A href="http://localhost"&gt;http://localhost&lt;/A&gt;&lt;SPAN&gt; as a valid redirect URI?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Nov 2013 21:54:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-developers-questions/how-to-config-flex-oauth-sample-locally/m-p/532179#M630</guid>
      <dc:creator>DasaPaddock</dc:creator>
      <dc:date>2013-11-11T21:54:09Z</dc:date>
    </item>
  </channel>
</rss>

