Browse Source
Update the Clever provider to not require a backchannel identity token
pull/2067/head
Jonathan Law
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
4 additions and
0 deletions
-
src/OpenIddict.Client.WebIntegration/OpenIddictClientWebIntegrationHandlers.cs
|
|
|
@ -641,6 +641,10 @@ public static partial class OpenIddictClientWebIntegrationHandlers |
|
|
|
context.RequireBackchannelIdentityToken, |
|
|
|
context.ValidateBackchannelIdentityToken) = context.Registration.ProviderType switch |
|
|
|
{ |
|
|
|
// Clever claims the OpenID Connect flavor of the code flow is supported but
|
|
|
|
// their implementation doesn't always return an id_token from the token endpoint.
|
|
|
|
ProviderTypes.Clever => (true, false, true), |
|
|
|
|
|
|
|
// While PayPal claims the OpenID Connect flavor of the code flow is supported,
|
|
|
|
// their implementation doesn't return an id_token from the token endpoint.
|
|
|
|
ProviderTypes.PayPal => (false, false, false), |
|
|
|
|