Browse Source

feat: also add the prompt parameter into the handler

pull/2427/head
Stella Schalkwijk 4 weeks ago
parent
commit
ed3165b8d8
Failed to extract signature
  1. 1
      src/OpenIddict.Client.WebIntegration/OpenIddictClientWebIntegrationHandlers.cs

1
src/OpenIddict.Client.WebIntegration/OpenIddictClientWebIntegrationHandlers.cs

@ -1924,6 +1924,7 @@ public static partial class OpenIddictClientWebIntegrationHandlers
var settings = context.Registration.GetGoogleSettings(); var settings = context.Registration.GetGoogleSettings();
context.Request["access_type"] = settings.AccessType; 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" // By default, Huawei doesn't return a refresh token but allows sending an "access_type"

Loading…
Cancel
Save