diff --git a/gen/OpenIddict.Client.WebIntegration.Generators/OpenIddictClientWebIntegrationGenerator.cs b/gen/OpenIddict.Client.WebIntegration.Generators/OpenIddictClientWebIntegrationGenerator.cs index 966c214b..3c64f4f3 100644 --- a/gen/OpenIddict.Client.WebIntegration.Generators/OpenIddictClientWebIntegrationGenerator.cs +++ b/gen/OpenIddict.Client.WebIntegration.Generators/OpenIddictClientWebIntegrationGenerator.cs @@ -1056,6 +1056,8 @@ public sealed partial class OpenIddictClientWebIntegrationConfiguration UserInfoEndpoint = CreateUri($""{{ environment.configuration.user_info_endpoint | string.replace '\'' '""' }}"", UriKind.Absolute), {{~ end ~}} + AuthorizationResponseIssParameterSupported = {{ environment.configuration.authorization_response_iss_parameter_supported ?? ""null"" }}, + CodeChallengeMethodsSupported = { {{~ for method in environment.configuration.code_challenge_methods_supported ~}} @@ -1342,6 +1344,8 @@ public sealed partial class OpenIddictClientWebIntegrationConfiguration TokenEndpoint = (string?) configuration.Attribute("TokenEndpoint"), UserInfoEndpoint = (string?) configuration.Attribute("UserInfoEndpoint"), + AuthorizationResponseIssParameterSupported = (bool?) configuration.Attribute("AuthorizationResponseIssParameterSupported"), + CodeChallengeMethodsSupported = configuration.Elements("CodeChallengeMethod").ToList() switch { { Count: > 0 } methods => methods.Select(static type => (string?) type.Attribute("Value")).ToList(), diff --git a/src/OpenIddict.Client.WebIntegration/OpenIddictClientWebIntegrationProviders.xml b/src/OpenIddict.Client.WebIntegration/OpenIddictClientWebIntegrationProviders.xml index 47f3ff7f..f6ecf8db 100644 --- a/src/OpenIddict.Client.WebIntegration/OpenIddictClientWebIntegrationProviders.xml +++ b/src/OpenIddict.Client.WebIntegration/OpenIddictClientWebIntegrationProviders.xml @@ -1086,11 +1086,12 @@ - + + UserInfoEndpoint="https://api.github.com/user" + AuthorizationResponseIssParameterSupported="true"> diff --git a/src/OpenIddict.Client.WebIntegration/OpenIddictClientWebIntegrationProviders.xsd b/src/OpenIddict.Client.WebIntegration/OpenIddictClientWebIntegrationProviders.xsd index bc1859f3..c76b74ca 100644 --- a/src/OpenIddict.Client.WebIntegration/OpenIddictClientWebIntegrationProviders.xsd +++ b/src/OpenIddict.Client.WebIntegration/OpenIddictClientWebIntegrationProviders.xsd @@ -276,6 +276,12 @@ The userinfo endpoint offered by the environment. + + + + A boolean indicating whether the authorization response 'iss' parameter is supported by the environment. + +