Merge pull request #225 from electroma/nginx/extauth_headers
Support for http header passing from external authentication service
This commit is contained in:
commit
02cd3ce885
15 changed files with 535 additions and 0 deletions
|
|
@ -293,6 +293,9 @@ http {
|
|||
{{ if not (empty $authPath) }}
|
||||
# this location requires authentication
|
||||
auth_request {{ $authPath }};
|
||||
{{- range $idx, $line := buildAuthResponseHeaders $location }}
|
||||
{{ $line }}
|
||||
{{- end }}
|
||||
{{ end }}
|
||||
|
||||
{{ if not (empty $location.ExternalAuth.SigninURL) }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue