Bug description
- set
APPLICATION_ROOT to /mypath
- run superset.
- login page pops up with the correct path, BUT the next value is incorrectly set:
/mypath/login/?next=%2Fsuperset%2Fwelcome%2F. it should include /mypath inside it.
- login and you land on nowhere.
Screenshots/recordings
No response
Superset version
6.0.0
Python version
3.11
Node version
I don't know
Browser
Chrome
Additional context
note:
because of our special/ specific needs, our main application looks like this.
from superset.app import create_app
import sys
root_path = sys.argv[1] if len(sys.argv) > 1 else None
app = create_app(superset_app_root=root_path)
# our use-case-specific code
if __name__ == "__main__":
serve(app, host='0.0.0.0', port='8200', threads=16,)
and the script is executed in the venv using python app.py /mypath
Checklist
Bug description
APPLICATION_ROOTto/mypath/mypath/login/?next=%2Fsuperset%2Fwelcome%2F. it should include/mypathinside it.Screenshots/recordings
No response
Superset version
6.0.0
Python version
3.11
Node version
I don't know
Browser
Chrome
Additional context
note:
because of our special/ specific needs, our main application looks like this.
and the script is executed in the
venvusingpython app.py /mypathChecklist