diff --git a/CHANGELOG.md b/CHANGELOG.md index 255d7cd0..d7809be4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,9 @@ The format is based on the [KeepAChangeLog] project. ## 1.4.0 [2022-05-23] +### Added +- [#815] New Provider Configuration `code_challenge_methods_supported` added + ### Changed - [#810] Drop python 3.6 support @@ -17,6 +20,7 @@ The format is based on the [KeepAChangeLog] project. [#810]: https://github.com/OpenIDC/pyoidc/pull/810 [#812]: https://github.com/OpenIDC/pyoidc/pull/812 +[#815]: https://github.com/OpenIDC/pyoidc/pull/815 ## 1.3.0 [2021-07-09] diff --git a/src/oic/oic/message.py b/src/oic/oic/message.py index d6bda692..72f48991 100644 --- a/src/oic/oic/message.py +++ b/src/oic/oic/message.py @@ -14,6 +14,7 @@ from jwkest.jwe import factory as JWE_factory from jwkest.jwt import JWT +from oic import CC_METHOD from oic.exception import InvalidRequest from oic.exception import IssuerMismatch from oic.exception import MessageException @@ -886,6 +887,7 @@ class ProviderConfigurationResponse(Message): "request_object_encryption_enc_values_supported": OPTIONAL_LIST_OF_STRINGS, "token_endpoint_auth_methods_supported": OPTIONAL_LIST_OF_STRINGS, "token_endpoint_auth_signing_alg_values_supported": OPTIONAL_LIST_OF_STRINGS, + "code_challenge_methods_supported": REQUIRED_LIST_OF_STRINGS, "display_values_supported": OPTIONAL_LIST_OF_STRINGS, "claim_types_supported": OPTIONAL_LIST_OF_STRINGS, "claims_supported": OPTIONAL_LIST_OF_STRINGS, @@ -917,6 +919,7 @@ class ProviderConfigurationResponse(Message): "frontchannel_logout_session_supported": False, "backchannel_logout_supported": False, "backchannel_logout_session_supported": False, + "code_challenge_methods_supported": list(CC_METHOD.keys()) } def verify(self, **kwargs):