Skip to content
This repository has been archived by the owner on Sep 14, 2022. It is now read-only.

Add support for cookie.secure === 'auto' #242

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

STRML
Copy link

@STRML STRML commented Jun 15, 2021

This mirrors support in express-session where we look
at the value of req.headers['x-forwarded-proto'] to
automatically determine if we should set Secure.

This provides the developer with a safe way of getting
Secure set, without relying on complicated logic to detect
development environments or set up branching middleware
chains.

This mirrors support in express-session where we look
at the value of req.headers['x-forwarded-proto'] to
automatically determine if we should set Secure.

This provides the developer with a safe way of getting
Secure set, without relying on complicated logic to detect
development environments or set up branching middleware
chains.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants