<?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: Missing user profile in response from identity server. in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/missing-user-profile-in-response-from-identity/m-p/1179330#M33281</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/73696"&gt;@pocalipse&lt;/a&gt;, have you received any updates from ESRI with regard to the support ticket you have opened?&lt;BR /&gt;&lt;BR /&gt;This issue is driving me crazy, I have been testing on another environment, and it worked! details as follows.&lt;BR /&gt;&lt;BR /&gt;The other environment is testing one (2 HA portals, but there are no federated servers), I have used the&amp;nbsp; exact same Keycloak configuration for both environments. However, in my production environment, which I have sent about it before (2 HA portals + 2 Federated servers, one hosted server &amp;amp; the other is notebook server) it does not work!&lt;/P&gt;&lt;P&gt;I have been trying to test and eliminate some doubts related to keycloak, trying to understand from where exactly the error stem from.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Keycloak side:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I have tried to connect to Keycloak APIs directly without any intervention from the portal, the results was good and eliminated the possibility of having issues related to request/response of keycloak (production).&lt;/P&gt;&lt;P&gt;I have tried to generate a token as follows:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#993366"&gt;curl -L -X POST 'https://&amp;lt;KEYCLOAK_SERVER&amp;gt;/realms/.../protocol/openid-connect/token' \&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#993366"&gt;-H 'Content-Type: application/x-www-form-urlencoded' \&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#993366"&gt;--data-urlencode 'client_id=&amp;lt;CLIENT_ID&amp;gt;' \&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#993366"&gt;--data-urlencode 'client_secret=&amp;lt;CLIENT_SECRET&amp;gt;' \&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#993366"&gt;--data-urlencode 'grant_type=password' \&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#993366"&gt;--data-urlencode 'username=&amp;lt;USERNAME&amp;gt;' \&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#993366"&gt;--data-urlencode 'password=&amp;lt;MY_PASSWORD&amp;gt;' \&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#993366"&gt;--data-urlencode 'scope=openid address web-origins roles email phone profile microprofile-jwt offline_access' \&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#993366"&gt;--data-urlencode 'totp=&amp;lt;OTP_FROM_ANY_MOBILE_AUTHENTICATOR&amp;gt;'&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;It responded correctly with an access_token&lt;BR /&gt;then I used that access_token to call /userinfo API as follows:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#993366"&gt;curl -L -X GET 'https://&amp;lt;KEYCLOAK_SERVER&amp;gt;/realms/.../protocol/openid-connect/userinfo' \&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#993366"&gt;-H 'Authorization: Bearer &amp;lt;GENERATED_TOKEN&amp;gt;'&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;It responded correctly with my user profile&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Portal side:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I have traced the OpenID connect traffic there are 3 main requests as following:&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;First:&lt;/STRONG&gt;&lt;/U&gt; Portal requests: oidc authorize &amp;gt;&amp;gt; set redirect url to keycloak to request the code&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#993366"&gt;originator: "https://&amp;lt;PORTAL&amp;gt;/arcgis/sharing/rest/oauth2/oidc/.../authorize",&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#993366"&gt;redirectURL: {&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#993366"&gt;baseURL: "https://&amp;lt;KEYCLOAK_SERVER&amp;gt;/realms/.../protocol/openid-connect/auth?redire...",&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#993366"&gt;redirect_uri: "https://&amp;lt;PORTAL&amp;gt;/arcgis/sharing/rest/oauth2/oidc/.../signin",&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#993366"&gt;client_id: "&amp;lt;CLIENT_ID&amp;gt;",&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#993366"&gt;scope: "openid address web-origins roles email phone profile microprofile-jwt offline_access",&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#993366"&gt;response_type: "code",&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#993366"&gt;state: "xxxxxxxxxxxxx"&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Second:&lt;/STRONG&gt;&lt;/U&gt; Keycloak requests: authenticate with user password or OTP &amp;gt;&amp;gt; set redirect url to portal with code, state &amp;amp; session_state&lt;/P&gt;&lt;P&gt;&lt;FONT color="#993366"&gt;&lt;STRONG&gt;originator: "https://&amp;lt;KEYCLOAK_SERVER&amp;gt;/realms/.../login-actions/authenticate?session_code=xxxxxxxxxxxxxxxxxxxxxx&amp;amp;execution=xxxxxxxxxxxxxxxx&amp;amp;client_id=&amp;lt;CLIENT_ID&amp;gt;&amp;amp;tab_id=xxxxxx",&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;&lt;STRONG&gt;redirectURL: {&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;&lt;STRONG&gt;baseURL: "https://&amp;lt;PORTAL&amp;gt;/arcgis/sharing/rest/oauth2/oidc/...",&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;&lt;STRONG&gt;state: "xxxxxxxxxxxxxxxx",&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;&lt;STRONG&gt;session_state: "xxxxxxxxxxxxxxxx",&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;&lt;STRONG&gt;code: "xxxxxxxxxxxxxxxxxxxxxxx" &lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;&lt;STRONG&gt;},&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;U&gt;&lt;STRONG&gt;Third:&lt;/STRONG&gt;&lt;/U&gt; Portal requests: oidc signin with code, state &amp;amp; session_state &amp;gt;&amp;gt; set redirect url to portal account switcher with access_token&lt;/P&gt;&lt;P&gt;&lt;FONT color="#993366"&gt;&lt;STRONG&gt;originator: "https://&amp;lt;PORTAL&amp;gt;/arcgis/sharing/rest/oauth2/oidc/.../signin?state=xxxxxxxxxxxxxxx&amp;amp;session_state=xxxxxxxxxxxxxxx",&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;&lt;STRONG&gt;redirectURL: {&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;&lt;STRONG&gt;baseURL: "https://&amp;lt;PORTAL&amp;gt;/arcgis/home/accountswitcher-callback.html#access_token=XXXXXXXX"&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;This ☝ is the successful flow captured from the testing environment (2 HA portals). I have traced the production requests as well, and everything is being sent correctly redirect_uri, client_id, code, state, session_state, but &lt;U&gt;Unfortunately&lt;/U&gt; the &lt;U&gt;Third&lt;/U&gt; request &lt;U&gt;does not return an access_token&lt;/U&gt; instead it returns the &lt;EM&gt;user profile error Did not receive 'user profile' parameter from the provider&amp;nbsp;&lt;/EM&gt;error&lt;/P&gt;&lt;P&gt;I don't know what's wrong with the production environment, is it because of the fact of having federated servers!&lt;/P&gt;&lt;P&gt;I believe I will open a support ticket as well!&lt;/P&gt;&lt;P&gt;--&lt;BR /&gt;Thanks,&amp;nbsp;&lt;BR /&gt;Essam&lt;/P&gt;</description>
    <pubDate>Thu, 02 Jun 2022 05:34:39 GMT</pubDate>
    <dc:creator>essamadelali</dc:creator>
    <dc:date>2022-06-02T05:34:39Z</dc:date>
    <item>
      <title>Missing user profile in response from identity server.</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/missing-user-profile-in-response-from-identity/m-p/1153089#M32720</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I'm trying to use KeyCloak as an external OpenID Connect authentication server for our internal ArcGIS Portal. Everything is connection but when I login and get redirected back to ArcGIS Portal I always get this error:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Did not receive 'user profile' parameter from the provider.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It seems that ArcGIS Portal doesn't call the user info endpoint so how do I fix this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best regards&lt;BR /&gt;Jens Christiansen&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2022 21:21:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/missing-user-profile-in-response-from-identity/m-p/1153089#M32720</guid>
      <dc:creator>pocalipse</dc:creator>
      <dc:date>2022-03-11T21:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: Missing user profile in response from identity server.</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/missing-user-profile-in-response-from-identity/m-p/1153108#M32721</link>
      <description>&lt;P&gt;So I'm not an expert on SAML2 and I've only worked with ADFS, OKTA and Azure AD.&amp;nbsp; That said the 'Required Information' (&lt;A href="https://enterprise.arcgis.com/en/portal/latest/administer/windows/configuring-a-saml-compliant-identity-provider-with-your-portal.htm#GUID-8491BCD1-EDF8-488F-816F-17BB781DE73D" target="_blank"&gt;Configure a SAML-compliant identity provider with a portal—Portal for ArcGIS | Documentation for ArcGIS Enterprise&lt;/A&gt;) for a SAML2 exchange between an IDp and ArcGIS Enterprise as a SP is quite light.&amp;nbsp; Only the NameID is really required, which is often in the form of the email address.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Azure AD "just works" as the email is key to everything, but ADFS needs the admin to choose the right properties to send through configuration.&amp;nbsp; It may be that an incorrect property is being sent as the NameID.&lt;/P&gt;&lt;P&gt;That's probably as much as I've got on the subject, but take a look at what's being sent.&amp;nbsp; It sounds like Enteprise is expecting an email and getting something in another form like [domain\user].&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2022 22:08:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/missing-user-profile-in-response-from-identity/m-p/1153108#M32721</guid>
      <dc:creator>Scott_Tansley</dc:creator>
      <dc:date>2022-03-11T22:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: Missing user profile in response from identity server.</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/missing-user-profile-in-response-from-identity/m-p/1153128#M32722</link>
      <description>&lt;P&gt;Hi Scott&lt;/P&gt;&lt;P&gt;Thanks for you reply and the SAML2 link.&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I'm trying to use the OpenID Connect login but ArcGIS Portal just calls the authenticate endpoint and I login in the identity server and then is redirected back to ArcGIS Portal, just to get notified that user profile is missing.&lt;/P&gt;&lt;P&gt;The JWT returned in quite simple and I guess ArcGIS Portal should call the user info endpoint of my identity server to retrieve the information but it doesn't!&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;Jens Christiansen&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2022 22:46:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/missing-user-profile-in-response-from-identity/m-p/1153128#M32722</guid>
      <dc:creator>pocalipse</dc:creator>
      <dc:date>2022-03-11T22:46:40Z</dc:date>
    </item>
    <item>
      <title>Re: Missing user profile in response from identity server.</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/missing-user-profile-in-response-from-identity/m-p/1176728#M33194</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/73696"&gt;@pocalipse&lt;/a&gt;,&amp;nbsp;have you managed to solve this issue? I am having the same issue on ArcGIS Enterprise version 10.9.1 (2 HA portals + 2 Federated servers, one hosted server &amp;amp; the other is notebook server)&lt;/P&gt;&lt;P&gt;Note: "&lt;SPAN&gt;Send access token in the header&lt;/SPAN&gt;" is On&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestion?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 06:35:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/missing-user-profile-in-response-from-identity/m-p/1176728#M33194</guid>
      <dc:creator>essamadelali</dc:creator>
      <dc:date>2022-05-24T06:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: Missing user profile in response from identity server.</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/missing-user-profile-in-response-from-identity/m-p/1176732#M33195</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/547440"&gt;@essamadelali&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately not!&amp;nbsp;&lt;BR /&gt;However, I currently have an open support issue with Esri and I'm hoping they will come back with a solution very soon. If and when they do I will gladly provide you the solution &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 06:56:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/missing-user-profile-in-response-from-identity/m-p/1176732#M33195</guid>
      <dc:creator>pocalipse</dc:creator>
      <dc:date>2022-05-24T06:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: Missing user profile in response from identity server.</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/missing-user-profile-in-response-from-identity/m-p/1179330#M33281</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/73696"&gt;@pocalipse&lt;/a&gt;, have you received any updates from ESRI with regard to the support ticket you have opened?&lt;BR /&gt;&lt;BR /&gt;This issue is driving me crazy, I have been testing on another environment, and it worked! details as follows.&lt;BR /&gt;&lt;BR /&gt;The other environment is testing one (2 HA portals, but there are no federated servers), I have used the&amp;nbsp; exact same Keycloak configuration for both environments. However, in my production environment, which I have sent about it before (2 HA portals + 2 Federated servers, one hosted server &amp;amp; the other is notebook server) it does not work!&lt;/P&gt;&lt;P&gt;I have been trying to test and eliminate some doubts related to keycloak, trying to understand from where exactly the error stem from.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Keycloak side:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I have tried to connect to Keycloak APIs directly without any intervention from the portal, the results was good and eliminated the possibility of having issues related to request/response of keycloak (production).&lt;/P&gt;&lt;P&gt;I have tried to generate a token as follows:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#993366"&gt;curl -L -X POST 'https://&amp;lt;KEYCLOAK_SERVER&amp;gt;/realms/.../protocol/openid-connect/token' \&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#993366"&gt;-H 'Content-Type: application/x-www-form-urlencoded' \&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#993366"&gt;--data-urlencode 'client_id=&amp;lt;CLIENT_ID&amp;gt;' \&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#993366"&gt;--data-urlencode 'client_secret=&amp;lt;CLIENT_SECRET&amp;gt;' \&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#993366"&gt;--data-urlencode 'grant_type=password' \&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#993366"&gt;--data-urlencode 'username=&amp;lt;USERNAME&amp;gt;' \&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#993366"&gt;--data-urlencode 'password=&amp;lt;MY_PASSWORD&amp;gt;' \&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#993366"&gt;--data-urlencode 'scope=openid address web-origins roles email phone profile microprofile-jwt offline_access' \&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#993366"&gt;--data-urlencode 'totp=&amp;lt;OTP_FROM_ANY_MOBILE_AUTHENTICATOR&amp;gt;'&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;It responded correctly with an access_token&lt;BR /&gt;then I used that access_token to call /userinfo API as follows:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#993366"&gt;curl -L -X GET 'https://&amp;lt;KEYCLOAK_SERVER&amp;gt;/realms/.../protocol/openid-connect/userinfo' \&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#993366"&gt;-H 'Authorization: Bearer &amp;lt;GENERATED_TOKEN&amp;gt;'&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;It responded correctly with my user profile&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Portal side:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I have traced the OpenID connect traffic there are 3 main requests as following:&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;First:&lt;/STRONG&gt;&lt;/U&gt; Portal requests: oidc authorize &amp;gt;&amp;gt; set redirect url to keycloak to request the code&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#993366"&gt;originator: "https://&amp;lt;PORTAL&amp;gt;/arcgis/sharing/rest/oauth2/oidc/.../authorize",&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#993366"&gt;redirectURL: {&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#993366"&gt;baseURL: "https://&amp;lt;KEYCLOAK_SERVER&amp;gt;/realms/.../protocol/openid-connect/auth?redire...",&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#993366"&gt;redirect_uri: "https://&amp;lt;PORTAL&amp;gt;/arcgis/sharing/rest/oauth2/oidc/.../signin",&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#993366"&gt;client_id: "&amp;lt;CLIENT_ID&amp;gt;",&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#993366"&gt;scope: "openid address web-origins roles email phone profile microprofile-jwt offline_access",&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#993366"&gt;response_type: "code",&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#993366"&gt;state: "xxxxxxxxxxxxx"&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Second:&lt;/STRONG&gt;&lt;/U&gt; Keycloak requests: authenticate with user password or OTP &amp;gt;&amp;gt; set redirect url to portal with code, state &amp;amp; session_state&lt;/P&gt;&lt;P&gt;&lt;FONT color="#993366"&gt;&lt;STRONG&gt;originator: "https://&amp;lt;KEYCLOAK_SERVER&amp;gt;/realms/.../login-actions/authenticate?session_code=xxxxxxxxxxxxxxxxxxxxxx&amp;amp;execution=xxxxxxxxxxxxxxxx&amp;amp;client_id=&amp;lt;CLIENT_ID&amp;gt;&amp;amp;tab_id=xxxxxx",&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;&lt;STRONG&gt;redirectURL: {&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;&lt;STRONG&gt;baseURL: "https://&amp;lt;PORTAL&amp;gt;/arcgis/sharing/rest/oauth2/oidc/...",&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;&lt;STRONG&gt;state: "xxxxxxxxxxxxxxxx",&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;&lt;STRONG&gt;session_state: "xxxxxxxxxxxxxxxx",&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;&lt;STRONG&gt;code: "xxxxxxxxxxxxxxxxxxxxxxx" &lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;&lt;STRONG&gt;},&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;U&gt;&lt;STRONG&gt;Third:&lt;/STRONG&gt;&lt;/U&gt; Portal requests: oidc signin with code, state &amp;amp; session_state &amp;gt;&amp;gt; set redirect url to portal account switcher with access_token&lt;/P&gt;&lt;P&gt;&lt;FONT color="#993366"&gt;&lt;STRONG&gt;originator: "https://&amp;lt;PORTAL&amp;gt;/arcgis/sharing/rest/oauth2/oidc/.../signin?state=xxxxxxxxxxxxxxx&amp;amp;session_state=xxxxxxxxxxxxxxx",&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;&lt;STRONG&gt;redirectURL: {&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;&lt;STRONG&gt;baseURL: "https://&amp;lt;PORTAL&amp;gt;/arcgis/home/accountswitcher-callback.html#access_token=XXXXXXXX"&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;This ☝ is the successful flow captured from the testing environment (2 HA portals). I have traced the production requests as well, and everything is being sent correctly redirect_uri, client_id, code, state, session_state, but &lt;U&gt;Unfortunately&lt;/U&gt; the &lt;U&gt;Third&lt;/U&gt; request &lt;U&gt;does not return an access_token&lt;/U&gt; instead it returns the &lt;EM&gt;user profile error Did not receive 'user profile' parameter from the provider&amp;nbsp;&lt;/EM&gt;error&lt;/P&gt;&lt;P&gt;I don't know what's wrong with the production environment, is it because of the fact of having federated servers!&lt;/P&gt;&lt;P&gt;I believe I will open a support ticket as well!&lt;/P&gt;&lt;P&gt;--&lt;BR /&gt;Thanks,&amp;nbsp;&lt;BR /&gt;Essam&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2022 05:34:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/missing-user-profile-in-response-from-identity/m-p/1179330#M33281</guid>
      <dc:creator>essamadelali</dc:creator>
      <dc:date>2022-06-02T05:34:39Z</dc:date>
    </item>
    <item>
      <title>Re: Missing user profile in response from identity server.</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/missing-user-profile-in-response-from-identity/m-p/1554792#M40886</link>
      <description>&lt;P&gt;Was a resolution ever found for this?&amp;nbsp; I'm having the same issue when trying to authenticate with the Azure ArcGIS Portal app.&lt;BR /&gt;The authentication goes through but then the portal comes back with the "Did not receive 'user profile' parameter from the provider" error.&lt;BR /&gt;Portal version 11.3&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2024 17:50:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/missing-user-profile-in-response-from-identity/m-p/1554792#M40886</guid>
      <dc:creator>iceearth</dc:creator>
      <dc:date>2024-11-01T17:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: Missing user profile in response from identity server.</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/missing-user-profile-in-response-from-identity/m-p/1555035#M40897</link>
      <description>&lt;P&gt;For anyone having this same issue, I realized that I copied the URLs from the endpoint tab in Azure, instead of from the metadata URL.&lt;BR /&gt;Once I put in the correct URLs, it started working.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2024 13:00:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/missing-user-profile-in-response-from-identity/m-p/1555035#M40897</guid>
      <dc:creator>iceearth</dc:creator>
      <dc:date>2024-11-04T13:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: Missing user profile in response from identity server.</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/missing-user-profile-in-response-from-identity/m-p/1599860#M41900</link>
      <description>&lt;P&gt;I encountered the same issue on a Portal 11.3 instance using Keycloak 26.1.4. I tried various solutions, but none were conclusive, and I couldn't find any helpful documentation. However, I was able to confirm that, at least in my case, the issue was with the Portal itself. When I switched to another Portal 11.3 instance and followed the exact same steps, the error disappeared.&lt;/P&gt;&lt;P&gt;I also replicated the request simulation mentioned in this forum, but I reached the same conclusion as a fellow user: the requests work correctly, everything functions as expected, but the Portal seemingly fails to recognize them. It could be a configuration issue or something related to how the Portal is set up.&lt;/P&gt;&lt;P&gt;In any case, the only workaround I found was to implement it on a different Portal, which was an option in my scenario. If anyone discovers a definitive solution to this error and can share it here on the forum, that would be greatly appreciated! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2025 10:16:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/missing-user-profile-in-response-from-identity/m-p/1599860#M41900</guid>
      <dc:creator>Ítalo</dc:creator>
      <dc:date>2025-03-27T10:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: Missing user profile in response from identity server.</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/missing-user-profile-in-response-from-identity/m-p/1600748#M41927</link>
      <description>&lt;P&gt;I had the same issue and I think the problem was the availability of the identity provider url from the portal machine itself. I can't remember exactly if it was just for the ArcGIS service account or the machine itself. Try fetching the Keycloak URL as an ArcGIS service account user from the Portal machine to ensure that the IDP is accessible.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Matej&lt;/P&gt;</description>
      <pubDate>Mon, 31 Mar 2025 06:27:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/missing-user-profile-in-response-from-identity/m-p/1600748#M41927</guid>
      <dc:creator>MatejVrtich</dc:creator>
      <dc:date>2025-03-31T06:27:18Z</dc:date>
    </item>
  </channel>
</rss>

