Skip to content

Secure cookie behind a proxy server  #781

@condrove10

Description

@condrove10

Hi, I'm currently setting up the login sessions for my website, but I'm a bit confused about the flags of the cookie because I'm using a reverse proxy coded by me which acts both as a reverse proxy and a subdomain handler. I'm most concerned about the flags : ["secure", "domain", "same-site"].

Because I don't know HOW and IF the reverse proxy will change the behavior of the cookie and if any header change is needed.

Currently, the secure flag is true, but as the documentation says, the webserver requires an HTTPS connection. The main problem here is that I use HTTP to host the individual instances for every subdomain. The HTTPS covers only the browser-to-(reverse proxy server) connection.

SO, I'd like to know if this coverage can be extended to the single instance or if the header should be modified.

Hope I can receive some clearance and details about this mess.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions