Browse Source

Add "implicit" to the list of grant types supported by Google

pull/1609/head
Kévin Chalet 4 years ago
parent
commit
c9c0933c41
  1. 5
      src/OpenIddict.Client.WebIntegration/OpenIddictClientWebIntegrationHandlers.Discovery.cs

5
src/OpenIddict.Client.WebIntegration/OpenIddictClientWebIntegrationHandlers.Discovery.cs

@ -105,6 +105,11 @@ public static partial class OpenIddictClientWebIntegrationHandlers
context.Configuration.GrantTypesSupported.Add(GrantTypes.RefreshToken);
}
else if (context.Registration.ProviderName is Providers.Google)
{
context.Configuration.GrantTypesSupported.Add(GrantTypes.Implicit);
}
return default;
}
}

Loading…
Cancel
Save