Update dependency doorkeeper to v5.8.0 (#33000)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
Emelia Smith 2024-11-21 14:48:30 +01:00 committed by GitHub
parent e4d5cc0ca6
commit 4517e18b79
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 8 additions and 17 deletions

View file

@ -1,13 +0,0 @@
# frozen_string_literal: true
module OauthPreAuthorizationExtension
extend ActiveSupport::Concern
included do
validate :code_challenge_method_s256, error: Doorkeeper::Errors::InvalidCodeChallengeMethod
end
def validate_code_challenge_method_s256
code_challenge.blank? || code_challenge_method == 'S256'
end
end