From ed3165b8d81447698bd7a0537d4ffb45cdc3d2de Mon Sep 17 00:00:00 2001 From: Stella Schalkwijk Date: Sun, 22 Feb 2026 10:16:23 +0100 Subject: [PATCH] feat: also add the prompt parameter into the handler --- .../OpenIddictClientWebIntegrationHandlers.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/OpenIddict.Client.WebIntegration/OpenIddictClientWebIntegrationHandlers.cs b/src/OpenIddict.Client.WebIntegration/OpenIddictClientWebIntegrationHandlers.cs index c1f6c4a6..3bbc6c6d 100644 --- a/src/OpenIddict.Client.WebIntegration/OpenIddictClientWebIntegrationHandlers.cs +++ b/src/OpenIddict.Client.WebIntegration/OpenIddictClientWebIntegrationHandlers.cs @@ -1924,6 +1924,7 @@ public static partial class OpenIddictClientWebIntegrationHandlers var settings = context.Registration.GetGoogleSettings(); context.Request["access_type"] = settings.AccessType; + context.Request.Prompt = settings.Prompt; } // By default, Huawei doesn't return a refresh token but allows sending an "access_type"