From ead29eed7a442c906a87d5802c494cd7e7fd68ae Mon Sep 17 00:00:00 2001 From: Todd Martin <106564991+trmartin4@users.noreply.github.com> Date: Mon, 7 Jul 2025 17:38:52 -0400 Subject: [PATCH] chore(feature flag): [PM-18562] Remove installation-last-activity-date from server * Removed flag. * Changed to remove variable. --- src/Core/Constants.cs | 1 - .../RequestValidators/CustomTokenRequestValidator.cs | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Core/Constants.cs b/src/Core/Constants.cs index b2e28dab47..f2039cfbc9 100644 --- a/src/Core/Constants.cs +++ b/src/Core/Constants.cs @@ -189,7 +189,6 @@ public static class FeatureFlagKeys public const string PersistPopupView = "persist-popup-view"; public const string StorageReseedRefactor = "storage-reseed-refactor"; public const string WebPush = "web-push"; - public const string RecordInstallationLastActivityDate = "installation-last-activity-date"; public const string IpcChannelFramework = "ipc-channel-framework"; /* Tools Team */ diff --git a/src/Identity/IdentityServer/RequestValidators/CustomTokenRequestValidator.cs b/src/Identity/IdentityServer/RequestValidators/CustomTokenRequestValidator.cs index 7d468fafa8..5042f38b4f 100644 --- a/src/Identity/IdentityServer/RequestValidators/CustomTokenRequestValidator.cs +++ b/src/Identity/IdentityServer/RequestValidators/CustomTokenRequestValidator.cs @@ -95,10 +95,8 @@ public class CustomTokenRequestValidator : BaseRequestValidator { { "encrypted_payload", payload } }; } - if (FeatureService.IsEnabled(FeatureFlagKeys.RecordInstallationLastActivityDate) - && context.Result.ValidatedRequest.ClientId.StartsWith("installation")) + if (context.Result.ValidatedRequest.ClientId.StartsWith("installation")) { - var installationIdPart = clientId.Split(".")[1]; await RecordActivityForInstallation(clientId.Split(".")[1]); } return;