From 24adabfb04594d47d34eaba3648f27a8bf7f117a Mon Sep 17 00:00:00 2001 From: kalaveijo Date: Sun, 8 Dec 2024 16:51:12 +0200 Subject: [PATCH] Add EVE Online to the list of supported providers --- ...tClientWebIntegrationHandlers.Discovery.cs | 2 +- ...penIddictClientWebIntegrationProviders.xml | 22 +++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/src/OpenIddict.Client.WebIntegration/OpenIddictClientWebIntegrationHandlers.Discovery.cs b/src/OpenIddict.Client.WebIntegration/OpenIddictClientWebIntegrationHandlers.Discovery.cs index 5f6d23ea..a36861c8 100644 --- a/src/OpenIddict.Client.WebIntegration/OpenIddictClientWebIntegrationHandlers.Discovery.cs +++ b/src/OpenIddict.Client.WebIntegration/OpenIddictClientWebIntegrationHandlers.Discovery.cs @@ -250,7 +250,7 @@ public static partial class OpenIddictClientWebIntegrationHandlers // While it is a recommended node, these providers don't include "scopes_supported" in their // configuration and thus are treated as OAuth 2.0-only providers by the OpenIddict client. // To avoid that, the "openid" scope is manually added to indicate OpenID Connect is supported. - else if (context.Registration.ProviderType is ProviderTypes.EpicGames or ProviderTypes.Xero) + else if (context.Registration.ProviderType is ProviderTypes.EpicGames or ProviderTypes.Xero or ProviderTypes.EveOnline) { context.Configuration.ScopesSupported.Add(Scopes.OpenId); } diff --git a/src/OpenIddict.Client.WebIntegration/OpenIddictClientWebIntegrationProviders.xml b/src/OpenIddict.Client.WebIntegration/OpenIddictClientWebIntegrationProviders.xml index fc303c28..377f8ed2 100644 --- a/src/OpenIddict.Client.WebIntegration/OpenIddictClientWebIntegrationProviders.xml +++ b/src/OpenIddict.Client.WebIntegration/OpenIddictClientWebIntegrationProviders.xml @@ -599,6 +599,28 @@ + + + + + + + + + + + + +