feat: add sha256 signatures to outgoing http requests (#2874)

This commit is contained in:
Adam Cooke
2024-03-13 08:52:29 +00:00
committed by GitHub
parent 9982bb8c31
commit 96d73653d7
11 changed files with 188 additions and 10 deletions
+15
View File
@@ -0,0 +1,15 @@
# frozen_string_literal: true
class WellKnownController < ApplicationController
layout false
skip_before_action :set_browser_id
skip_before_action :login_required
skip_before_action :set_timezone
def jwks
render json: JWT::JWK::Set.new(Postal.signer.jwk).export.to_json
end
end