Add debug logging on signature verification failure (#26637)

th-downstream
Claire 1 year ago committed by GitHub
parent c536148396
commit e7472ecd2a

@ -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