From ef0092a1fcf530c9e87396afd89c6faa759e8354 Mon Sep 17 00:00:00 2001 From: Stella <4118427+StellaAlexis@users.noreply.github.com> Date: Sun, 22 Feb 2026 11:09:39 +0100 Subject: [PATCH] Add a global prompt setting to the Google web provider --- .../OpenIddictClientWebIntegrationHandlers.cs | 1 + .../OpenIddictClientWebIntegrationProviders.xml | 3 +++ 2 files changed, 4 insertions(+) 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" diff --git a/src/OpenIddict.Client.WebIntegration/OpenIddictClientWebIntegrationProviders.xml b/src/OpenIddict.Client.WebIntegration/OpenIddictClientWebIntegrationProviders.xml index c2ae4645..f56442fb 100644 --- a/src/OpenIddict.Client.WebIntegration/OpenIddictClientWebIntegrationProviders.xml +++ b/src/OpenIddict.Client.WebIntegration/OpenIddictClientWebIntegrationProviders.xml @@ -1129,6 +1129,9 @@ + +