You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "parkjeyeong (via GitHub)" <gi...@apache.org> on 2026/01/28 09:06:29 UTC

[I] SUPERSET_APP_ROOT is not applied on some internal redirects after login and in Settings > User > Info [superset]

parkjeyeong opened a new issue, #37518:
URL: https://github.com/apache/superset/issues/37518

   ### Bug description
   
   ### Environment
   - Superset version: 6.0.0
   - Deployment: docker-compose
   - Configuration:
       - SUPERSET_APP_ROOT set via environment variable
   
   ### Describe the bug
   I configured `SUPERSET_APP_ROOT` in `docker-compose.yml` to run Superset under a sub-path.
   
   Most routes work correctly and include the configured app root,
   but some internal navigations ignore `SUPERSET_APP_ROOT` and redirect to root (`/`) paths.
   
   Specifically:
   - Redirect right after login (/superset/welcome)
   - Navigation to Settings > User > Info
   Both cases drop the configured app root.
   
   ### Expected behavior
   All redirects and internal navigations should respect `SUPERSET_APP_ROOT`.
   
   Examples:
   ```
   /my-prefix/superset/welcome/
   /my-prefix/user_info/
   ```
   
   ### Actual behavior
   Some redirects ignore `SUPERSET_APP_ROOT` and navigate to root paths.
   
   Examples:
   ```
   /superset/welcome/
   /user_info/
   ```
   
   
   Could you please confirm whether this is an intended behavior or a bug?
   Thank you.
   
   ### Screenshots/recordings
   
   _No response_
   
   ### Superset version
   
   6.0.0
   
   ### Python version
   
   I don't know
   
   ### Node version
   
   18 or greater
   
   ### Browser
   
   Chrome
   
   ### Additional context
   
   _No response_
   
   ### Checklist
   
   - [x] I have searched Superset docs and Slack and didn't find a solution to my problem.
   - [x] I have searched the GitHub issue tracker and didn't find a similar bug report.
   - [x] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] SUPERSET_APP_ROOT is not applied on some internal redirects after login and in Settings > User > Info [superset]

Posted by "Vitor-Avila (via GitHub)" <gi...@apache.org>.
Vitor-Avila commented on issue #37518:
URL: https://github.com/apache/superset/issues/37518#issuecomment-3923638803

   I fixed the first issue here: https://github.com/apache/superset/pull/37942 and the second issue was fixed here: https://github.com/apache/superset/pull/36058
   
   From my tests `/dashboard/new` is also already working. Going to close this one for now


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] SUPERSET_APP_ROOT is not applied on some internal redirects after login and in Settings > User > Info [superset]

Posted by "dosubot[bot] (via GitHub)" <gi...@apache.org>.
dosubot[bot] commented on issue #37518:
URL: https://github.com/apache/superset/issues/37518#issuecomment-3809977079

   <!-- Greeting -->
   Hi @parkjeyeong! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping the superset team.
   
   <!-- Answer -->
   This is a known bug in Superset 6.0.0—internal redirects like the post-login redirect and navigation to Settings > User > Info do not consistently respect SUPERSET_APP_ROOT. The frontend routes for these pages are hardcoded to root-relative paths (e.g., /superset/welcome/, /user_info/) and do not dynamically prepend the app root, which causes the behavior you described. This is not intended and breaks sub-path deployments.
   
   A fix for the login redirect was merged after 6.0.0 ([PR #34395](https://github.com/apache/superset/pull/34395)), and there are ongoing efforts to address similar issues for other routes and authentication flows ([PR #35296](https://github.com/apache/superset/pull/35296), [PR #33508](https://github.com/apache/superset/pull/33508)). However, these fixes are not included in 6.0.0, so the issue persists in that version.
   
   If you need a workaround before upgrading, you would need to manually patch the affected routes in your deployment to ensure they use the app root, but this can be tricky and may require changes in both frontend and backend code. Upgrading to a version where these fixes are merged is the most reliable solution once available.
   
   Let me know if you want more technical details or guidance on patching locally.
   
   
   <!-- Dosu Comment Footer -->
   *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).*
   
   ---
   <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/53692480-deba-4ab9-b9d2-ee433324981b?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/53692480-deba-4ab9-b9d2-ee433324981b?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/53692480-deba-4ab9-b9d2-ee433324981b?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/53692480-deba-4ab9-b9d2-ee433324981b?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/53692480-deba-4ab9-b9d2-ee433324981b?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/53692480-deba-4ab9-b9d2-ee433324981b?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/53692480-deba-4ab9-b9d2-ee433324981b?feedback_type=other)</sup>
   
   [![Chat with Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=github)&nbsp;[![Open in Cursor](https://dosu.dev/dosu-in-cursor.svg)](https://cursor.com/link/prompt?text=This%20is%20a%20known%20bug%20in%20Superset%206.0.0%E2%80%94internal%20redirects%20like%20the%20post-login%20redirect%20and%20navigation%20to%20Settings%20%3E%20User%20%3E%20Info%20do%20not%20consistently%20respect%20SUPERSET_APP_ROOT.%20The%20frontend%20routes%20for%20these%20pages%20are%20hardcoded%20to%20root-relative%20paths%20%28e.g.%2C%20/superset/welcome/%2C%20/user_info/%29%20and%20do%20not%20dynamically%20prepend%20the%20app%20root%2C%20which%20causes%20the%20behavior%20you%20described.%20This%20is%20not%20intended%20and%20breaks%20sub-path%20deployments.%0A%0AA%20fix%20for%20the%20login%20redirect%20was%20merged%20after%206.0.0%20%28%5BPR%20%2334395%5D%28https%3A//github.com/apache/superset/pull/34395%29%29%2C%20and%20there%20are%20ongoin
 g%20efforts%20to%20address%20similar%20issues%20for%20other%20routes%20and%20authentication%20flows%20%28%5BPR%20%2335296%5D%28https%3A//github.com/apache/superset/pull/35296%29%2C%20%5BPR%20%2333508%5D%28https%3A//github.com/apache/superset/pull/33508%29%29.%20However%2C%20these%20fixes%20are%20not%20included%20in%206.0.0%2C%20so%20the%20issue%20persists%20in%20that%20version.%0A%0AIf%20you%20need%20a%20workaround%20before%20upgrading%2C%20you%20would%20need%20to%20manually%20patch%20the%20affected%20routes%20in%20your%20deployment%20to%20ensure%20they%20use%20the%20app%20root%2C%20but%20this%20can%20be%20tricky%20and%20may%20require%20changes%20in%20both%20frontend%20and%20backend%20code.%20Upgrading%20to%20a%20version%20where%20these%20fixes%20are%20merged%20is%20the%20most%20reliable%20solution%20once%20available.%0A%0ALet%20me%20know%20if%20you%20want%20more%20technical%20details%20or%20guidance%20on%20patching%20locally.)&nbsp;[![Join Discord](https://img.shields.io/badge/join
 -5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share on X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/issues/37518)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] SUPERSET_APP_ROOT is not applied on some internal redirects after login and in Settings > User > Info [superset]

Posted by "hmendezm (via GitHub)" <gi...@apache.org>.
hmendezm commented on issue #37518:
URL: https://github.com/apache/superset/issues/37518#issuecomment-3900295093

   Hi there!
   Are you include new dashboard url (/dashboard/new/) and the url after login(superset/welcome/)?
   
   Do you have a estimate when this will be fixed?
   
   Thank you guys for working on this


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] SUPERSET_APP_ROOT is not applied on some internal redirects after login and in Settings > User > Info [superset]

Posted by "parkjeyeong (via GitHub)" <gi...@apache.org>.
parkjeyeong commented on issue #37518:
URL: https://github.com/apache/superset/issues/37518#issuecomment-3814520115

   @dosu
   
   Hi Dosu, thanks for the detailed explanation.
   
   Just to clarify, do you know whether the remaining fixes (e.g. for Settings > User > Info and other internal routes not respecting `SUPERSET_APP_ROOT`) are planned to be included in a specific upcoming release version?
   
   We’re currently evaluating whether to upgrade or apply a temporary patch, so having a rough target version or timeline would be very helpful.
   
   Thanks again for the pointers to the related PRs.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] SUPERSET_APP_ROOT is not applied on some internal redirects after login and in Settings > User > Info [superset]

Posted by "Vitor-Avila (via GitHub)" <gi...@apache.org>.
Vitor-Avila closed issue #37518: SUPERSET_APP_ROOT is not applied on some internal redirects after login and in Settings > User > Info
URL: https://github.com/apache/superset/issues/37518


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] SUPERSET_APP_ROOT is not applied on some internal redirects after login and in Settings > User > Info [superset]

Posted by "dosubot[bot] (via GitHub)" <gi...@apache.org>.
dosubot[bot] commented on issue #37518:
URL: https://github.com/apache/superset/issues/37518#issuecomment-3814522907

   <!-- Answer -->
   The remaining fixes for internal routes like Settings > User > Info not respecting SUPERSET_APP_ROOT are actively being addressed. The specific fix for the user info/settings menu is in [PR #36058](https://github.com/apache/superset/pull/36058), which was updated in late January 2026 and is likely to land in the next minor or patch release after that date. This PR directly addresses the missing app root in the user info link and other related UI issues.
   
   Recent merged PRs (like [#35098](https://github.com/apache/superset/pull/35098)) have improved subdirectory deployment support for many URLs, but some routes and authentication flows are still being patched. Superset’s release process means these fixes will appear in the next release after their merge—there’s no fixed date, but you can track their inclusion via the [changelog](https://github.com/apache/superset/tree/master/CHANGELOG) or by watching the PRs.
   
   If you need these fixes immediately, you’d need to patch your deployment with the changes from the relevant PRs. Otherwise, upgrading to the next release after these PRs are merged will resolve the issues for you.
   
   
   <!-- Dosu Comment Footer -->
   *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).*
   
   ---
   <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/ea98d975-c8a3-4601-844a-2db41ea21069?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/ea98d975-c8a3-4601-844a-2db41ea21069?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/ea98d975-c8a3-4601-844a-2db41ea21069?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/ea98d975-c8a3-4601-844a-2db41ea21069?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/ea98d975-c8a3-4601-844a-2db41ea21069?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/ea98d975-c8a3-4601-844a-2db41ea21069?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/ea98d975-c8a3-4601-844a-2db41ea21069?feedback_type=other)</sup>
   
   [![Chat with Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=github)&nbsp;[![Open in Cursor](https://dosu.dev/dosu-in-cursor.svg)](https://cursor.com/link/prompt?text=The%20remaining%20fixes%20for%20internal%20routes%20like%20Settings%20%3E%20User%20%3E%20Info%20not%20respecting%20SUPERSET_APP_ROOT%20are%20actively%20being%20addressed.%20The%20specific%20fix%20for%20the%20user%20info/settings%20menu%20is%20in%20%5BPR%20%2336058%5D%28https%3A//github.com/apache/superset/pull/36058%29%2C%20which%20was%20updated%20in%20late%20January%202026%20and%20is%20likely%20to%20land%20in%20the%20next%20minor%20or%20patch%20release%20after%20that%20date.%20This%20PR%20directly%20addresses%20the%20missing%20app%20root%20in%20the%20user%20info%20link%20and%20other%20related%20UI%20issues.%0A%0ARecent%20merged%20PRs%20%28like%20%5B%2335098%5D%28https%3A//github.com/apache/superset/pull/35098%29%29%20have%20improved%20subdirectory
 %20deployment%20support%20for%20many%20URLs%2C%20but%20some%20routes%20and%20authentication%20flows%20are%20still%20being%20patched.%20Superset%E2%80%99s%20release%20process%20means%20these%20fixes%20will%20appear%20in%20the%20next%20release%20after%20their%20merge%E2%80%94there%E2%80%99s%20no%20fixed%20date%2C%20but%20you%20can%20track%20their%20inclusion%20via%20the%20%5Bchangelog%5D%28https%3A//github.com/apache/superset/tree/master/CHANGELOG%29%20or%20by%20watching%20the%20PRs.%0A%0AIf%20you%20need%20these%20fixes%20immediately%2C%20you%E2%80%99d%20need%20to%20patch%20your%20deployment%20with%20the%20changes%20from%20the%20relevant%20PRs.%20Otherwise%2C%20upgrading%20to%20the%20next%20release%20after%20these%20PRs%20are%20merged%20will%20resolve%20the%20issues%20for%20you.)&nbsp;[![Join Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share on X](https://img.shields.io/badge/X-share-black)](https://t
 witter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/issues/37518)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] SUPERSET_APP_ROOT is not applied on some internal redirects after login and in Settings > User > Info [superset]

Posted by "iammuntazirali (via GitHub)" <gi...@apache.org>.
iammuntazirali commented on issue #37518:
URL: https://github.com/apache/superset/issues/37518#issuecomment-3812060566

   Hi there 👋
   I’d like to work on this issue.
   Please assign it to me. Thanks!
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org