<?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: Invalid redirect_uri - error 400 in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/invalid-redirect-uri-error-400/m-p/1080893#M30743</link>
    <description>&lt;P&gt;I subscribed to this thread in hopes someone from esri would respond.&amp;nbsp; It would be really, really nice if Portal supported multiple allowed redirects in such cases.&amp;nbsp; I get a significant number of clients that want to access their arcgis server via multiple DNS aliases. Most commonly, this is for supporting both internal and external hostnames.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 20 Jul 2021 15:56:24 GMT</pubDate>
    <dc:creator>JonSwoveland</dc:creator>
    <dc:date>2021-07-20T15:56:24Z</dc:date>
    <item>
      <title>Invalid redirect_uri - error 400</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/invalid-redirect-uri-error-400/m-p/1080402#M30737</link>
      <description>&lt;P&gt;I get an Invalid redirect_uri error while trying to access ArcGIS Server using IP address.&amp;nbsp;If I replace the ip address with server name: &lt;A href="https://servername.loc:6443/arcgis/rest/services" target="_blank" rel="noopener"&gt;https://servername.loc:6443/arcgis/rest/services&lt;/A&gt;&amp;nbsp;I don't have a problem accessing the services.&lt;/P&gt;&lt;P&gt;However, if I type: http(s)://1.1.11.111/arcgis/rest/services - i&lt;SPAN&gt;t still populates the list of folders that are in the server but once I click on the folder it will give an Invalid redirect_uri error. See attached snapshot.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Obviously, the redirect link from the folder structure using ip address is not pointing the right direction but unsure, how to fix it. We have the server federated with portal and webadaptor.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know please if someone came across similar error and was able to fix it. Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS: We run ArcGIS Server 10.6.1&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jul 2021 17:58:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/invalid-redirect-uri-error-400/m-p/1080402#M30737</guid>
      <dc:creator>BlueSky17</dc:creator>
      <dc:date>2021-07-19T17:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid redirect_uri - error 400</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/invalid-redirect-uri-error-400/m-p/1080769#M30739</link>
      <description>&lt;P&gt;In a federated ArcGIS Server site, the Portal for ArcGIS site that it is federated with takes over the control of the security of the site. This means that redirection to the OAuth2 endpoint for Portal will verify the redirect URI and make sure it's one of the recorded, allowed entries. In this case, only the Services and Admin URLs used during federation would be allowed URIs for secured services, otherwise any other DNS alias or the IP address will return the invalid redirect error message.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you having issues with accessing the REST Services page using the correct URLs?&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2021 11:59:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/invalid-redirect-uri-error-400/m-p/1080769#M30739</guid>
      <dc:creator>ChristopherPawlyszyn</dc:creator>
      <dc:date>2021-07-20T11:59:45Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid redirect_uri - error 400</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/invalid-redirect-uri-error-400/m-p/1080893#M30743</link>
      <description>&lt;P&gt;I subscribed to this thread in hopes someone from esri would respond.&amp;nbsp; It would be really, really nice if Portal supported multiple allowed redirects in such cases.&amp;nbsp; I get a significant number of clients that want to access their arcgis server via multiple DNS aliases. Most commonly, this is for supporting both internal and external hostnames.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2021 15:56:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/invalid-redirect-uri-error-400/m-p/1080893#M30743</guid>
      <dc:creator>JonSwoveland</dc:creator>
      <dc:date>2021-07-20T15:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid redirect_uri - error 400</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/invalid-redirect-uri-error-400/m-p/1081010#M30744</link>
      <description>&lt;P&gt;While there is a workflow to &lt;A href="https://community.esri.com/t5/arcgis-enterprise-portal-questions/invalid-redirect-uri-portal-error-400-signin/m-p/58672/highlight/true#M730" target="_self"&gt;update the redirect_uri list&lt;/A&gt;,&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/196643"&gt;@ChristopherPawlyszyn&lt;/a&gt;&amp;nbsp; is correct in that once federated, Portal only knows about two URLs for federated servers; the services URL and the administration URL. These are the only URLs that can be used to access Server Manager, (assuming the services URL is either only using a reverse proxy or load balancer, or in the event you're using the web adaptors, they have admin access enabled).&lt;BR /&gt;&lt;BR /&gt;Updating the redirect_uri list likely won't help situations where you have multiple URLs you need to access services through, for federated servers at least.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2021 19:09:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/invalid-redirect-uri-error-400/m-p/1081010#M30744</guid>
      <dc:creator>JonathanQuinn</dc:creator>
      <dc:date>2021-07-20T19:09:20Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid redirect_uri - error 400</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/invalid-redirect-uri-error-400/m-p/1081450#M30763</link>
      <description>&lt;P&gt;Thank you for your reply. I made this work :).&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jul 2021 17:46:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/invalid-redirect-uri-error-400/m-p/1081450#M30763</guid>
      <dc:creator>BlueSky17</dc:creator>
      <dc:date>2021-07-21T17:46:27Z</dc:date>
    </item>
  </channel>
</rss>

