-
Notifications
You must be signed in to change notification settings - Fork 2
When running on HTTPS the sso doesn't work due to redirect URL #30
Comments
I did some digging in the Flask-AppBuilder and found the redirect URI parameter is generated here using a function called
https://flask.palletsprojects.com/en/2.3.x/api/#flask.Flask.url_for Should we configure PREFERRED_URL_SCHEME (HTTP by default) for our superset application? I haven't tested or even know if this is the right path. I could try it later though. |
@mariajgrimaldi thanks for digging into this, that seems like a good place to start! |
I found this:
So that might be the reason. I'll keep researching :)! |
Useful references: |
We figured that this config
So we should add that config when using https! I tested this on k8s installation, now I'll need to do it on our docker-compose one. |
Great, I look forward to hearing how it goes! |
We have a fix! I already linked the PR. |
assign me |
@bmtcril this one is resolved |
When running on HTTPS the sso doesn't work because the redirect uri is taken as http:{{LMS_HOST}}/...
Any ideas?
Checking the application configuration shows the correct information:
Originally posted by @Ian2012 in #15 (comment)
The text was updated successfully, but these errors were encountered: