We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5982ad commit e6af55dCopy full SHA for e6af55d
internal/configs/version2/nginx-plus.virtualserver.tmpl
@@ -427,12 +427,9 @@ server {
427
error_page 401 = @do_oidc_flow;
428
auth_jwt_key_request /_jwks_uri;
429
{{ $proxyOrGRPC }}_set_header username $jwt_claim_sub;
430
- {{ end }}
431
-
432
- {{ with $oidc := $s.OIDC }}
433
- {{ if $oidc.AccessTokenEnable }}
+ {{- if $s.OIDC.AccessTokenEnable }}
434
{{ $proxyOrGRPC }}_set_header Authorization "Bearer $access_token";
435
+ {{- end }}
436
{{ end }}
437
438
{{ with $l.WAF }}
0 commit comments