Skip to content

Commit

Permalink
add retry policy to the OAuth2 filter API
Browse files Browse the repository at this point in the history
Signed-off-by: Huabing Zhao <[email protected]>
  • Loading branch information
zhaohuabing committed Jul 18, 2024
1 parent 01e17d5 commit 7314b8f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions api/envoy/extensions/filters/http/oauth2/v3/oauth.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ syntax = "proto3";

package envoy.extensions.filters.http.oauth2.v3;

import "envoy/config/core/v3/base.proto";
import "envoy/config/core/v3/http_uri.proto";
import "envoy/config/route/v3/route_components.proto";
import "envoy/extensions/transport_sockets/tls/v3/secret.proto";
Expand Down Expand Up @@ -161,6 +162,9 @@ message OAuth2Config {
// will still process incoming ID Tokens as part of the HMAC if they are there. This is to ensure compatibility while switching this setting on. Future
// sessions would not set the IdToken cookie header.
bool disable_id_token_set_cookie = 17;

// Specifies the retry policy for requests to the OAuth server. If not specified, then no retries will be performed.
config.core.v3.RetryPolicy retry_policy = 16;
}

// Filter config.
Expand Down

0 comments on commit 7314b8f

Please sign in to comment.