Skip to content

Commit

Permalink
Update filter.cc (#1)
Browse files Browse the repository at this point in the history
Signed-off-by: Nitin Goyal <nitingoyal.dev@gmail.com>
  • Loading branch information
ngoyal16 authored Jan 22, 2021
1 parent f2cdd88 commit 96ebfcd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions source/extensions/filters/http/oauth2/filter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,8 @@ FilterConfig::FilterConfig(
redirect_matcher_(proto_config.redirect_path_matcher()),
signout_path_(proto_config.signout_path()), secret_reader_(secret_reader),
stats_(FilterConfig::generateStats(stats_prefix, scope)),
encoded_auth_scopes_(
Http::Utility::PercentEncoding::encode(absl::StrJoin(
authScopesList(proto_config.auth_scopes()), " "), ":/=&? ")),
encoded_auth_scopes_(Http::Utility::PercentEncoding::encode(
absl::StrJoin(authScopesList(proto_config.auth_scopes()), " "), ":/=&? ")),
forward_bearer_token_(proto_config.forward_bearer_token()),
pass_through_header_matchers_(headerMatchers(proto_config.pass_through_matcher())) {
if (!cluster_manager.clusters().hasCluster(oauth_token_endpoint_.cluster())) {
Expand Down

0 comments on commit 96ebfcd

Please sign in to comment.