-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Redash looking for http version of URL in SAML Callback, https version is supplied leading to 500 error. #5297
Comments
Try setting the environment value From here,
|
Also see this pull request: #3614 |
@jhult thanks for the info. I'm running redash via the docker-compose method in the docs, I've updated the mentioned env value, however it still seems to be looking for the http URL. I can see the new env value in the I updated the env file, took down the containers and ran |
I encountered the same issue.
Env variable is not imported? Others are there. How to fix this? |
Sorry, I don't know if an AMI is provided for v9.0.0-beta. I'm just another user that found that config. I actually use the Helm chart with the latest Redash version. |
@cormorando your right. I was still on v8. Upgraded to v9-beta and now that error is gone, however I'm still getting errors regarding I'm trying to use Google aus SAML provider btw, not Okta or Auth0. Also I noticed in the docs theres now apparently support for Google OAuth, but I dont see that in my settings using v9.0.0-beta |
Wondering about the Google OAuth as well. I don't see it. Is it included in Community? |
Redash should work with any SAML 2.0 provider. Google login also works. There's no difference between the OSS and paid versions in this regard. |
Our Settings looks nothing like these options in the doc link below... we are using Version: 8.0.0+b32245 https://redash.io/help/user-guide/users/authentication-options Our options. And when SAML is checked the Meta, Entity, and Name input fields show up. Nothing about Google Domains. |
@jcolinger3 If you look closely the screenshot in the online docs says "Redash 4.0.0" at the bottom, not sure what's going on there but anyway yes Google OAuth does work with Redash 8.x community version as I've set it up several times. @ndom91 @cormorando your issue sounds like it might be the same as this one #4048 (which was for an older version of Redash but I think may still be valid for version 8). |
@griffinator76 where are you seeing options to setup google oauth in the community edition? I'm runnign v9.0.0-beta and don't see it anywhere 🤔 |
Hi @ndom91 I can't speak to the v9 beta as I am running the v8 release but to get Google authentication working I have used the following:
The above works for me as I'm running the AWS EC2 image that uses this docker setup. If you have a bespoke deployment e.g. Kubernetes then you might need further steps. Note you need to have published your Redash instance publicly on the web and secured it with HTTPS for this to work. |
@ndom91 note that the above doesn't involve using the SAML settings. |
This is not related to the issue, but I assume that the issue 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. |
hi everyone, is there a way to do this using the community helm chart that currently uses the redash image 10.0.0.b50363? I don't know if this solution to use the "REDASH_SAML_SCHEME_OVERRIDE" works for Google Oauth since the same problem occurs when you use Redash with Google Oauth with an AWS NLB in front of the solution to make SSL offload |
Issue Summary
So I'm trying to setup SAML Auth via G Suite. I've setup the app there and in the redash settings and everything looks fine, however whenever I try to "Test SAML Auth" from Google's side I land at my redash domain and get a 500 Error.
I check the logs from the redash server container and see the following:
As you can see the URL its looking for technically is in that array. Just the http version, not https.
Technical details:
The text was updated successfully, but these errors were encountered: