Skip to content

Force saml auth scheme#3614

Merged
arikfr merged 6 commits into
getredash:masterfrom
leosunmo:force_saml-auth_scheme
Jan 21, 2020
Merged

Force saml auth scheme#3614
arikfr merged 6 commits into
getredash:masterfrom
leosunmo:force_saml-auth_scheme

Conversation

@leosunmo

@leosunmo leosunmo commented Mar 21, 2019

Copy link
Copy Markdown
Contributor
  • Feature

Description

This setting will allow you to override the SAML Auth URL scheme that gets constructed by Flask. This is a useful feature if, for example, you're behind a Proxy Protocol enabled TCP load balancer (AWS ELB that terminates SSL) and your Nginx proxy or similar adds a X-Forwarded-Proto of HTTP even though your Redash URL for SAML auth is HTTPS. Ideally your proxy should pass along the actual forwarded protocol but it's impossible for it to know unless it analyses the Proxy Protocol and uses that to figure out the original scheme, which I'm not sure is possible.

I'm not quite sure where I should be adding documentation regarding this, but please point me in the right direction and I'll write something up.

Related Tickets & Documents

Mobile & Desktop Screenshots/Recordings (if there are UI changes)

@arikfr

arikfr commented Jan 21, 2020

Copy link
Copy Markdown
Member

Thanks.

@arikfr

arikfr commented Apr 3, 2023

Copy link
Copy Markdown
Member

This is not related to the Pull Request directly, but I assume that the author or followers might have SAML enabled for their deployment and should be aware of the following Security Advisory: #5961. This affects all Redash versions and should be patched immediately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants