Make sure set-cookie is retained from external auth endpoint (#5067)
This commit is contained in:
parent
e179a24f97
commit
71e35c9100
2 changed files with 48 additions and 0 deletions
|
|
@ -952,6 +952,8 @@ stream {
|
|||
location {{ buildAuthSignURLLocation $location.Path $externalAuth.SigninURL }} {
|
||||
internal;
|
||||
|
||||
add_header Set-Cookie $auth_cookie;
|
||||
|
||||
return 302 {{ buildAuthSignURL $externalAuth.SigninURL }};
|
||||
}
|
||||
{{ end }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue