authorize: support X-Pomerium-Authorization in addition to Authorization (#2780)

* authorize: support X-Pomerium-Authorization in addition to Authorization

* tangentental correction

Co-authored-by: alexfornuto <alex@fornuto.com>
This commit is contained in:
Caleb Doxsey 2021-11-29 12:19:14 -07:00 committed by GitHub
parent 88c5eeba45
commit a8b76bd623
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 101 additions and 42 deletions

View file

@ -30,9 +30,9 @@ function envoy_on_request(request_handle)
if has_prefix(authorization, authorization_prefix) then
headers:remove("authorization")
end
headers:remove('x-pomerium-authorization')
end
end
function envoy_on_response(response_handle)
end
function envoy_on_response(response_handle) end