<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Compatibility of refresh token settings: sliding window and one-time use]]></title><description><![CDATA[<p dir="auto">If you have one-time use refresh token, then every time it is used, you get a new refresh token.</p>
<p dir="auto">If you have a refresh token with a sliding window, every time you use it, its lifetime is extended.</p>
<p dir="auto">How are these settings compatible?</p>
]]></description><link>https://fusionauth.io/community/forum/topic/2800/compatibility-of-refresh-token-settings-sliding-window-and-one-time-use</link><generator>RSS for Node</generator><lastBuildDate>Thu, 08 Oct 2026 13:50:53 GMT</lastBuildDate><atom:link href="https://fusionauth.io/community/forum/topic/2800.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 21 Nov 2024 15:49:53 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Compatibility of refresh token settings: sliding window and one-time use on Thu, 21 Nov 2024 15:53:00 GMT]]></title><description><![CDATA[<p dir="auto">It's a subtle difference, but one-time use refers to the value of the refresh token, which you use against the /oauth2/token endpoint to get a new access token via the refresh grant.</p>
<p dir="auto">A sliding window refers to the refresh token itself, which has a unique id which stays the same, even as the value of the refresh token changes.</p>
<p dir="auto">So if you had a refresh token with a lifetime of 4 hours, a sliding window and one time use configured, you might end up with something like this:</p>
<ul>
<li>at creation: id <code>09cfb961-291a-420f-b5cf-48c5c87a67cc</code>, value <code>RNhY5yE39t1o2FXKxgyH</code>, lifetime 4 hours</li>
<li>when the RT is presented to the /oauth2/token endpoint 3 hours after creation: id <code>09cfb961-291a-420f-b5cf-48c5c87a67cc</code>, value <code>Fh95KZLfSMjMNxpR5B4c</code>, lifetime 4 more hours</li>
<li>when the RT is presented to the /oauth2/token endpoint 3 hours later: id  <code>09cfb961-291a-420f-b5cf-48c5c87a67cc</code>, value <code>baHneP4s0hBHPEk88GPC</code>, lifetime 4 more hours</li>
</ul>
<p dir="auto">More details here: <a href="https://github.com/FusionAuth/fusionauth-issues/issues/2925" rel="nofollow ugc">https://github.com/FusionAuth/fusionauth-issues/issues/2925</a></p>
]]></description><link>https://fusionauth.io/community/forum/post/7620</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/7620</guid><dc:creator><![CDATA[dan]]></dc:creator><pubDate>Thu, 21 Nov 2024 15:53:00 GMT</pubDate></item></channel></rss>