Superset iframe login redirect
Assuming your app and your superset is not severed under the same domain name.
You will need to:
- add
SESSION_COOKIE_SAMESITE = 'None'
insuperset_config.py
- make sure setup firefox is configured to not block cross-site cookies (this is not recommended but it will make embedded chart).
So the redirect from /superset/welcome
to /login/
means superset can not find your session from cookie (your browser may block 3rd party cookie since superset is served as 3rd party)
If you're serving superset over HTTP instead of HTTPS, you will need SESSION_COOKIE_SECURE = False
in superset_config.py
as well although it's not recommended to use http only.
Notice: this solution works for Firefox and Chrome/Chromium, but not Safari.