Re: Auth_request and multiple cookies from the authentication server

2021-01-28 Thread dlouwers
Hello Francis, Unfortunately combining the headers to one Set-Cookie header doesn't work either. It seems that nginx parses the values and just drops all after the first. Therefore it looks like there is no workaround and we will need to fix or indeed switch to something else. Best, Dirk Posted

Re: Auth_request and multiple cookies from the authentication server

2020-10-19 Thread Francis Daly
On Thu, Sep 24, 2020 at 09:01:38AM +0300, Hannu Shemeikka wrote: Hi there, I'm afraid I don't have a great answer for you... > It seems that the variable $upstream_http_set_cookie only contains the > first cookie and not all cookies set by the upstream server. > > Is this variable's behavior fe

Auth_request and multiple cookies from the authentication server

2020-09-23 Thread Hannu Shemeikka
Hi, I'm using using auth_request to authenticate requests to my locations. I have a working configuration but I noticed that the client is not receiving all cookies set by the authentication server. I'm using following syntax for setting the cookie: auth_request_set    $auth_cookie $upstr