Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ message BufferSettings {
// metadata as well as body may be added to the client's response. See :ref:`allowed_client_headers
// <envoy_v3_api_field_extensions.filters.http.ext_authz.v3.AuthorizationResponse.allowed_client_headers>`
// for details.
// [#next-free-field: 11]
// [#next-free-field: 12]
message HttpService {
option (udpa.annotations.versioning).previous_message_type =
"envoy.config.filter.http.ext_authz.v2.HttpService";
Expand All @@ -502,6 +502,12 @@ message HttpService {
// Only one of ``path_prefix`` or ``path_override`` may be set.
string path_override = 10;

// Overrides the HTTP method of the authorization request sent to the authorization service.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high-level question:
not sure I fully understand why the method needs an override or why it is dependent on the incoming request... Shouldn't it just be decided by the contents of server_uri?

// If not set, the original request method is forwarded. This is useful when the authorization
// service exposes a single fixed endpoint (e.g. ``POST /auth``) regardless of the original
// request method.
string method_override = 11;

// Settings used for controlling authorization request metadata.
AuthorizationRequest authorization_request = 7;

Expand Down
Loading
Loading