Copy headers in OpenidConnect TokenEndpointController
This commit is contained in:
parent
9626c77a1c
commit
27f3b68f54
1 changed files with 2 additions and 1 deletions
|
|
@ -8,7 +8,8 @@ module Api
|
|||
if req["client_assertion_type"] == "urn:ietf:params:oauth:client-assertion-type:jwt-bearer"
|
||||
handle_jwt_bearer(req)
|
||||
end
|
||||
self.status, response.headers, self.response_body = Api::OpenidConnect::TokenEndpoint.new.call(request.env)
|
||||
self.status, headers, self.response_body = Api::OpenidConnect::TokenEndpoint.new.call(request.env)
|
||||
headers.each {|name, value| response.headers[name] = value }
|
||||
nil
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue