<?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 Empty redirect_uri when authenticating to Microsoft Azure AD B2C using Custom connection type in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/empty-redirect-uri-when-authenticating-to/m-p/1609206#M95294</link>
    <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;I'm trying to create a connection with Microsoft Azure AD B2C from ArcGIS Pro desktop application. I'm not using "Microsoft Entra ID" connection type as this a different product and it's not working. However, when trying to use "Custom" connection type I'm getting the following error in the ArcGIS App:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;AADB2C90006: The redirect URI '' provided in the request is not registered for the client id '288cbb6e-6e8f-44fd-93d7-8408ffd93c4b'.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Correlation ID: bf09c11b-6300-42a6-8951-741d52556d37&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Timestamp: 2025-04-25 08:47:43Z&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I've ensured the redirect Url is set correctly in the Azure AD B2C and that it is not the reason for this error. So I've decided to check what is the request that ArcGIS Pro is making. And this is what I found using Fiddler:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;GET /StagingAimsEnableMyTeam.onmicrosoft.com/B2C_1A_CommonSignIn/oauth2/v2.0/authorize?prompt=login&amp;amp;response_type=code&amp;amp;&lt;STRONG&gt;redirect_uri=&lt;/STRONG&gt;&amp;amp;scope=offline_access%20openid&amp;amp;client_id=288cbb6e-6e8f-44fd-93d7-8408ffd93c4b&amp;amp;code_challenge_method=S256&amp;amp;code_challenge=iGCIn1-66ep6K6zxe4Lpzvtanl_KNdKOJCf8XDCVZQs&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Please note the redirect_uri is empty!&lt;/STRONG&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Why is the redirect_uri empty? How can I change that? The Edit Connection window does not allow to specify a redirect_uri.&amp;nbsp; Please note that according to the RFC6749 redirect_uri must be registered and must exactly match.&lt;/P&gt;&lt;P&gt;Thank you for your help!&lt;/P&gt;</description>
    <pubDate>Fri, 25 Apr 2025 13:03:12 GMT</pubDate>
    <dc:creator>RyszardSikora</dc:creator>
    <dc:date>2025-04-25T13:03:12Z</dc:date>
    <item>
      <title>Empty redirect_uri when authenticating to Microsoft Azure AD B2C using Custom connection type</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/empty-redirect-uri-when-authenticating-to/m-p/1609206#M95294</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;I'm trying to create a connection with Microsoft Azure AD B2C from ArcGIS Pro desktop application. I'm not using "Microsoft Entra ID" connection type as this a different product and it's not working. However, when trying to use "Custom" connection type I'm getting the following error in the ArcGIS App:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;AADB2C90006: The redirect URI '' provided in the request is not registered for the client id '288cbb6e-6e8f-44fd-93d7-8408ffd93c4b'.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Correlation ID: bf09c11b-6300-42a6-8951-741d52556d37&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Timestamp: 2025-04-25 08:47:43Z&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I've ensured the redirect Url is set correctly in the Azure AD B2C and that it is not the reason for this error. So I've decided to check what is the request that ArcGIS Pro is making. And this is what I found using Fiddler:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;GET /StagingAimsEnableMyTeam.onmicrosoft.com/B2C_1A_CommonSignIn/oauth2/v2.0/authorize?prompt=login&amp;amp;response_type=code&amp;amp;&lt;STRONG&gt;redirect_uri=&lt;/STRONG&gt;&amp;amp;scope=offline_access%20openid&amp;amp;client_id=288cbb6e-6e8f-44fd-93d7-8408ffd93c4b&amp;amp;code_challenge_method=S256&amp;amp;code_challenge=iGCIn1-66ep6K6zxe4Lpzvtanl_KNdKOJCf8XDCVZQs&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Please note the redirect_uri is empty!&lt;/STRONG&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Why is the redirect_uri empty? How can I change that? The Edit Connection window does not allow to specify a redirect_uri.&amp;nbsp; Please note that according to the RFC6749 redirect_uri must be registered and must exactly match.&lt;/P&gt;&lt;P&gt;Thank you for your help!&lt;/P&gt;</description>
      <pubDate>Fri, 25 Apr 2025 13:03:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/empty-redirect-uri-when-authenticating-to/m-p/1609206#M95294</guid>
      <dc:creator>RyszardSikora</dc:creator>
      <dc:date>2025-04-25T13:03:12Z</dc:date>
    </item>
  </channel>
</rss>

