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

Commits on Jun 15, 2021

  1. Add support for cookie.secure === 'auto'

    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.
    STRML committed Jun 15, 2021
    Configuration menu
    Copy the full SHA
    532b80b View commit details
    Browse the repository at this point in the history