change zammad sso header
This commit is contained in:
parent
12274240b6
commit
4a716a8fd2
1 changed files with 4 additions and 4 deletions
|
|
@ -84,10 +84,10 @@
|
|||
auth_request_set $groups $upstream_http_remote_groups;
|
||||
auth_request_set $name $upstream_http_remote_name;
|
||||
auth_request_set $email $upstream_http_remote_email;
|
||||
proxy_set_header Remote-User $user;
|
||||
proxy_set_header Remote-Groups $groups;
|
||||
proxy_set_header Remote-Name $name;
|
||||
proxy_set_header Remote-Email $email;
|
||||
proxy_set_header X-Forwarded-User $user;
|
||||
proxy_set_header X-Forwarded-Groups $groups;
|
||||
proxy_set_header X-Forwarded-Name $name;
|
||||
proxy_set_header X-Forwarded-Email $email;
|
||||
# If Authelia returns 401, then nginx redirects the user to the login portal.
|
||||
# If it returns 200, then the request pass through to the backend.
|
||||
# For other type of errors, nginx will handle them as usual.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue