Force HTTPS for ACS and SLS

Created on 31 March 2022, over 2 years ago
Updated 19 August 2024, 3 months ago

Problem/Motivation

I have an instance where docker is forced on port 80 with SSL termination in a different layer. Because of this, Drupal doesn't respond that the site is using HTTPS so the ACS and SLS reports 'http://' in the metadata.

Proposed resolution

The change I propose is adding a variable to the config 'sp_force_https', which adds the option of adding 'https = true' to the Url::fromRoute() function options inside of the static function reformatConfig().

πŸ’¬ Support request
Status

Active

Version

3.5

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States skstarne

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

    • roderik β†’ committed 318205ee on 8.x-3.x
      Issue #3272609: add pointer to Drupal configuration for reverse proxies.
      
  • Status changed to Closed: works as designed about 1 year ago
  • πŸ‡³πŸ‡±Netherlands roderik Amsterdam,NL / Budapest,HU

    Recategorizing. (It wasn't a support request, but people who browse the list of support requests may benefit from seeing the title.)

  • Status changed to Active 3 months ago
  • πŸ‡³πŸ‡±Netherlands roderik Amsterdam,NL / Budapest,HU

    Making "active" again just so the title shows up in the list.

    (I closed this 'Feature request', but actually I tend to keep many 'Support requests' open and showing in the list, until that time I might make a FAQ or reference on the project page.)

Production build 0.71.5 2024