add support for auth-snippet annotation
add test for new auth-snippet annotation document auth-snippet annotation add e2e test for auth-snippet annotation add log warning and update documentation
This commit is contained in:
parent
38f5df26cb
commit
b511333130
5 changed files with 80 additions and 11 deletions
|
|
@ -888,6 +888,10 @@ stream {
|
|||
proxy_set_header ssl-client-issuer-dn $ssl_client_i_dn;
|
||||
{{ end }}
|
||||
|
||||
{{ if not (empty $location.ExternalAuth.AuthSnippet) }}
|
||||
{{ $location.ExternalAuth.AuthSnippet }}
|
||||
{{ end }}
|
||||
|
||||
set $target {{ $location.ExternalAuth.URL }};
|
||||
proxy_pass $target;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue