<?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: Portal for ArcGIS: Cannot retrieve token 'expirationDate' on 'portal-self' end point in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/portal-for-arcgis-cannot-retrieve-token/m-p/1624183#M42418</link>
    <description>&lt;P&gt;Support was able to reproduce on 11.5 (I am running 11.3) and could not understand why is the "&lt;SPAN&gt;expirationDate"&lt;/SPAN&gt;&amp;nbsp; missing. So they logged the following BUG:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;BUG-000177206: Unable to retrieve the 'expirationDate' token from the 'portal-self' endpoint in the OAuth2 token response.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We identified that using an API token, it is displayed on AGOL but not using an OAuth2 token. But the documentation states: "&lt;EM&gt;This can be any type of token: User Token, App Token, or API Token"...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 17 Jun 2025 07:09:56 GMT</pubDate>
    <dc:creator>NicolasGIS</dc:creator>
    <dc:date>2025-06-17T07:09:56Z</dc:date>
    <item>
      <title>Portal for ArcGIS: Cannot retrieve token 'expirationDate' on 'portal-self' end point</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/portal-for-arcgis-cannot-retrieve-token/m-p/1622196#M42383</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I would like to be able to check the expiration date of an access token obtained with OAuth2 code flow.&lt;/P&gt;&lt;P&gt;According to the documentation, I should be able to use the "self" resource and provide a "&lt;EM&gt;token about which you want to get information about. This can be any type of token: User Token, App Token, or API Token. The token can be active or expired.Information such as client_id for which the token was generated, developer credentials item id, token's expiration date. This information will be returned in the&amp;nbsp;appInfo&amp;nbsp;response object&lt;/EM&gt;."&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/rest/users-groups-and-items/portal-self/#appinfo-response-properties" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/rest/users-groups-and-items/portal-self/#appinfo-response-properties&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NicolasGIS_0-1749540255374.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/134106iAD3DCF46942C9366/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NicolasGIS_0-1749540255374.png" alt="NicolasGIS_0-1749540255374.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The problem is that when I browse:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://organization.example.com/" target="_blank" rel="noopener"&gt;https://organization.example.com/&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;context&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;/sharing/rest/portals/self?f=pjson&amp;amp;token=foo&amp;amp;appInfoToken=bar, I get the following reply:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NicolasGIS_1-1749540492840.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/134107i281BA69C0ED87D4C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NicolasGIS_1-1749540492840.png" alt="NicolasGIS_1-1749540492840.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;As you can see, on my side, contrary to the example, I get everything but the "expirationDate":&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NicolasGIS_2-1749540660630.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/134108i898431A33BE47E4F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NicolasGIS_2-1749540660630.png" alt="NicolasGIS_2-1749540660630.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Any idea ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nicolas&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jun 2025 07:07:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/portal-for-arcgis-cannot-retrieve-token/m-p/1622196#M42383</guid>
      <dc:creator>NicolasGIS</dc:creator>
      <dc:date>2025-06-17T07:07:36Z</dc:date>
    </item>
    <item>
      <title>Re: Portal for ArcGIS: Cannot retrieve token 'expirationDate' on 'portal-self' end point</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/portal-for-arcgis-cannot-retrieve-token/m-p/1624183#M42418</link>
      <description>&lt;P&gt;Support was able to reproduce on 11.5 (I am running 11.3) and could not understand why is the "&lt;SPAN&gt;expirationDate"&lt;/SPAN&gt;&amp;nbsp; missing. So they logged the following BUG:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;BUG-000177206: Unable to retrieve the 'expirationDate' token from the 'portal-self' endpoint in the OAuth2 token response.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We identified that using an API token, it is displayed on AGOL but not using an OAuth2 token. But the documentation states: "&lt;EM&gt;This can be any type of token: User Token, App Token, or API Token"...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jun 2025 07:09:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/portal-for-arcgis-cannot-retrieve-token/m-p/1624183#M42418</guid>
      <dc:creator>NicolasGIS</dc:creator>
      <dc:date>2025-06-17T07:09:56Z</dc:date>
    </item>
    <item>
      <title>Re: Portal for ArcGIS: Cannot retrieve token 'expirationDate' on 'portal-self' end point</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/portal-for-arcgis-cannot-retrieve-token/m-p/1644616#M42905</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I can confirm this issue. I just tried querying information about my token(s) using&amp;nbsp;&lt;/SPAN&gt;/sharing/rest/portals/self?&lt;SPAN&gt;, and in both versions 11.5 and 11.4, the expiration date of the token is not shown.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Aug 2025 08:57:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/portal-for-arcgis-cannot-retrieve-token/m-p/1644616#M42905</guid>
      <dc:creator>wf_sbakker</dc:creator>
      <dc:date>2025-08-22T08:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: Portal for ArcGIS: Cannot retrieve token 'expirationDate' on 'portal-self' end point</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/portal-for-arcgis-cannot-retrieve-token/m-p/1659570#M43292</link>
      <description>&lt;P&gt;Thanks for the confirmation&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/861830"&gt;@wf_sbakker&lt;/a&gt;. Good to know that you can reproduce... Still do not understand why 4 months later, this BUG is still "In Review" while&amp;nbsp; obviously it is easily reproductible...&amp;nbsp;&lt;/P&gt;&lt;P&gt;From my experience, it means this BUG will end up&amp;nbsp;&lt;SPAN&gt;to oblivion and it is annoying &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I wonder why do I bother opening BUGs sometimes.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Oct 2025 11:45:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/portal-for-arcgis-cannot-retrieve-token/m-p/1659570#M43292</guid>
      <dc:creator>NicolasGIS</dc:creator>
      <dc:date>2025-10-22T11:45:27Z</dc:date>
    </item>
  </channel>
</rss>

