Browse Source
Add EVE Online to the list of supported providers
pull/2236/head
kalaveijo
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
23 additions and
1 deletions
-
src/OpenIddict.Client.WebIntegration/OpenIddictClientWebIntegrationHandlers.Discovery.cs
-
src/OpenIddict.Client.WebIntegration/OpenIddictClientWebIntegrationProviders.xml
|
|
|
@ -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); |
|
|
|
} |
|
|
|
|
|
|
|
@ -599,6 +599,28 @@ |
|
|
|
<Environment Issuer="https://api.epicgames.dev/epic/oauth/v1" /> |
|
|
|
</Provider> |
|
|
|
|
|
|
|
<!-- |
|
|
|
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ |
|
|
|
██ ▄▄▄█ ██ █ ▄▄▄████ ▄▄▄ ██ ▀██ ██ ████▄ ▄██ ▀██ ██ ▄▄▄██ |
|
|
|
██ ▄▄▄█ ██ █ ▄▄▄████ ███ ██ █ █ ██ █████ ███ █ █ ██ ▄▄▄██ |
|
|
|
██ ▀▀▀█▄▀▀▄█ ▀▀▀████ ▀▀▀ ██ ██▄ ██ ▀▀ █▀ ▀██ ██▄ ██ ▀▀▀██ |
|
|
|
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ |
|
|
|
--> |
|
|
|
|
|
|
|
<Provider Name="EveOnline" DisplayName="EVE Online" Id="e4614207-4f73-47c2-86c9-31f59d4c94f9" |
|
|
|
Documentation="https://docs.esi.evetech.net/docs/sso/sso_authorization_flow.html"> |
|
|
|
<Environment Issuer="https://login.eveonline.com/"> |
|
|
|
<Configuration AuthorizationEndpoint="https://login.eveonline.com/v2/oauth/authorize" |
|
|
|
RevocationEndpoint="https://login.eveonline.com/v2/oauth/revoke" |
|
|
|
TokenEndpoint="https://login.eveonline.com/v2/oauth/token"> |
|
|
|
<CodeChallengeMethod Value="S256" /> |
|
|
|
|
|
|
|
<GrantType Value="authorization_code" /> |
|
|
|
<GrantType Value="refresh_token" /> |
|
|
|
</Configuration> |
|
|
|
</Environment> |
|
|
|
</Provider> |
|
|
|
|
|
|
|
<!-- |
|
|
|
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ |
|
|
|
██ ▄▄▄█▄▀█▀▄█ ▄▄▀██ ▄▄▀█▄▄ ▄▄████ ▄▄▄ ██ ▀██ ██ ████▄ ▄██ ▀██ ██ ▄▄▄██ |
|
|
|
|