Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Force saml auth scheme #3614

Merged
merged 6 commits into from
Jan 21, 2020
Merged

Conversation

leosunmo
Copy link
Contributor

@leosunmo leosunmo commented Mar 21, 2019

  • 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
Copy link
Member

arikfr commented Jan 21, 2020

Thanks.

@arikfr
Copy link
Member

arikfr commented Apr 3, 2023

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