<?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: Refresh Token being exchanged when access token refresh is required in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/refresh-token-being-exchanged-when-access-token/m-p/514862#M6334</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brenda,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please email me on &lt;A href="mailto:mbranscomb@esri.com"&gt;mbranscomb@esri.com&lt;/A&gt;. I would like to arrange for you to test a preview of 100.7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Nov 2019 18:12:04 GMT</pubDate>
    <dc:creator>MichaelBranscomb</dc:creator>
    <dc:date>2019-11-18T18:12:04Z</dc:date>
    <item>
      <title>Refresh Token being exchanged when access token refresh is required</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/refresh-token-being-exchanged-when-access-token/m-p/514860#M6332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been troubleshooting an issue with OAuth token refresh issues in our app that started around the time we updated to 100.6.&amp;nbsp; The issue is manifesting as users needing to re-login every app launch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our app is using the OAuthAuthorizationCode grant type so we can retrieve a refresh token.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It appears that the runtime is making an "exchange_refresh_token" request instead of a standard "refresh_token" request when an access token has expired.&amp;nbsp; We haven't seen this behaviour prior to 100.6.&amp;nbsp; We have been caching the refresh token so&amp;nbsp;our users would not need to login on every app restart, but with this change to "exchange_refresh_token" we&amp;nbsp;no longer have a valid refresh token cached if the user is using an app longer then 30 minutes (access token length).&amp;nbsp; I cannot discover a way to detect when the refresh token is change.&amp;nbsp; The credentials object does have a PropertyChanged event, but this is not invoked when the refresh token changes, only when the access token changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a major breaking change for our app and I'd like to understand why the runtime is making an "exchange_token_refresh" request.&amp;nbsp; Was this introduced in 100.6?&amp;nbsp; If it was, was it to solve a specific issue or improve security?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would someone be able to point me in the direction of how to detect when the refresh token is updated by the runtime?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Nov 2019 23:41:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/refresh-token-being-exchanged-when-access-token/m-p/514860#M6332</guid>
      <dc:creator>BrendaParker</dc:creator>
      <dc:date>2019-11-15T23:41:06Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh Token being exchanged when access token refresh is required</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/refresh-token-being-exchanged-when-access-token/m-p/514861#M6333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brenda,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We're currently investigating this issue. I'll update this thread as soon as i have more information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Nov 2019 01:19:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/refresh-token-being-exchanged-when-access-token/m-p/514861#M6333</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2019-11-16T01:19:14Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh Token being exchanged when access token refresh is required</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/refresh-token-being-exchanged-when-access-token/m-p/514862#M6334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brenda,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please email me on &lt;A href="mailto:mbranscomb@esri.com"&gt;mbranscomb@esri.com&lt;/A&gt;. I would like to arrange for you to test a preview of 100.7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Nov 2019 18:12:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/refresh-token-being-exchanged-when-access-token/m-p/514862#M6334</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2019-11-18T18:12:04Z</dc:date>
    </item>
  </channel>
</rss>

