diff options
Diffstat (limited to 'app/controllers/jwks_controller.rb')
-rw-r--r-- | app/controllers/jwks_controller.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/app/controllers/jwks_controller.rb b/app/controllers/jwks_controller.rb index 2e030cf46c4..fb190846ffa 100644 --- a/app/controllers/jwks_controller.rb +++ b/app/controllers/jwks_controller.rb @@ -2,9 +2,7 @@ class JwksController < Doorkeeper::OpenidConnect::DiscoveryController def index - if ::Feature.enabled?(:cache_control_headers_for_openid_jwks) - expires_in 24.hours, public: true, must_revalidate: true, 'no-transform': true - end + expires_in 24.hours, public: true, must_revalidate: true, 'no-transform': true render json: { keys: payload } end |