Add debug logging on signature verification failure (#26637)

local
Claire 9 months ago committed by GitHub
parent 075cc8e8a6
commit 25bf640629
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/controllers/concerns/signature_verification.rb

@ -119,6 +119,8 @@ module SignatureVerification
private
def fail_with!(message, **options)
Rails.logger.warn { "Signature verification failed: #{message}" }
@signature_verification_failure_reason = { error: message }.merge(options)
@signed_request_actor = nil
end

Loading…
Cancel
Save