diff --git a/CHANGELOG.md b/CHANGELOG.md index 8bd80c01e..04516c203 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ - **Feature:** Add package `runtime`, which implements methods to be used when performing API requests. - **Feature:** Add method `WithCaptureHTTPResponse` to package `runtime`, which does the same as `config.WithCaptureHTTPResponse`. Method was moved to avoid confusion due to it not being a configuration option, and will be removed in a later release. - **Deprecation:** Mark method `config.WithCaptureHTTPResponse` as deprecated, to avoid confusion due to it not being a configuration option. Use `runtime.WithCaptureHTTPResponse` instead. -- **Deprecation:** Mark method `config.WithJWKSEndpoint` as deprecated. Validation using JWKS was removed, for being redundant with token validation done in the APIs. This option has no effect. +- **Deprecation:** Mark method `config.WithJWKSEndpoint` and field `config.Configuration.JWKSCustomUrl` as deprecated. Validation using JWKS was removed, for being redundant with token validation done in the APIs. These have no effect. - **Breaking Change:** Remove method `KeyFlow.Clone`, that was no longer being used. ## Release (2024-02-07) diff --git a/core/CHANGELOG.md b/core/CHANGELOG.md index 8990d64d7..6c3b7f8a8 100644 --- a/core/CHANGELOG.md +++ b/core/CHANGELOG.md @@ -1,7 +1,7 @@ ## v0.9.0 (YYYY-MM-DD) - **Deprecation:** Mark method `config.WithCaptureHTTPResponse` as deprecated, to avoid confusion due to it not being a configuration option. Use `runtime.WithCaptureHTTPResponse` instead. -- **Deprecation:** Mark method `config.WithJWKSEndpoint` as deprecated. Validation using JWKS was removed, for being redundant with token validation done in the APIs. This option has no effect. +- **Deprecation:** Mark method `config.WithJWKSEndpoint` and field `config.Configuration.JWKSCustomUrl` as deprecated. Validation using JWKS was removed, for being redundant with token validation done in the APIs. These have no effect. - **Breaking Change:** Remove method `KeyFlow.Clone`, that was no longer being used. ## v0.8.0 (2024-02-16) diff --git a/core/config/config.go b/core/config/config.go index 0bc18a910..c490ddcae 100644 --- a/core/config/config.go +++ b/core/config/config.go @@ -85,6 +85,9 @@ type Configuration struct { HTTPClient *http.Client RetryOptions *clients.RetryConfig + // Deprecated: validation using JWKS was removed, for being redundant with token validation done in the APIs. This field has no effect, and will be removed in a later update + JWKSCustomUrl string `json:"jwksCustomUrl,omitempty"` + setCustomEndpoint bool }