We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9141e27 commit 9d5c076Copy full SHA for 9d5c076
src/GovUK.Dfe.ExternalApplications.Api.Client/Security/TokenStateManager.cs
@@ -157,7 +157,7 @@ public async Task<TokenState> GetCurrentTokenStateAsync()
157
? lastActivity.Value
158
: lastActivity.Value.ToUniversalTime();
159
var inactivity = DateTime.UtcNow - lastUtc;
160
- if (inactivity >= TimeSpan.FromMinutes(30))
+ if (inactivity >= TimeSpan.FromMinutes(5))
161
{
162
// Mark that refresh is allowed due to inactivity regardless of normal window
163
cacheManager.SetRequestScopedFlag("AllowRefreshDueToInactivity", true);
0 commit comments