Anyone else here, who uses NGINX as reverse proxy ...
# talk-kratos
n
Anyone else here, who uses NGINX as reverse proxy in combination with Kratos and receive a [08/Oct/20211326:39 +0000] "GET /kratos//self-service/login/browser HTTP/1.1" 303 103 303 and NO Set-Cookie ?
a
I use nginx and receive the 303, but I do get the set-cookie.
n
Oh, just now I see it.. Sorry for delay. I do not get it.. I just receive "Cookie" ... but not Set-Cookie
a
Response headers should not contain "Cookie". That header is only for Request headers.
n
But I don't get where it is coming from...
I directly call the Kratos flow/browser endoint in Browser.
It's not even the csrf from database...
a
Sounds like an nginx config problem.
n
I got it also with oathkeeper...
a
Are you sure you're looking at the response? Can you share a screenshot of the browser tools showing this?
n
Oh damn, you are true. I am an idiot 😄
The entire time..
Its the 303
a
most likely you already have a cookie set, so there was no need for Kratos to set the cookie again on the response. Check your Dev Tools -> Application -> Cookies list.