Skip to content

Allow setting secure cookie when server connection is http #879

@jplahti

Description

@jplahti

Checking of secure server connection with setting "session.cookie.secure = true" leads to unwanted behaviour on load balancer TLS-terminated environments, where the application server running SimpleSAMLphp sees internal http connections only and prevents setting cookie secure flag.

Please remove this check, because interpreting the secure flag on cookie should be left for the browser to deside. Or maybe even better add extra setting e.g. "behindsecureproxy", which can be used to fine tune the behaviour.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions