Skip to content

SUPERSET_APP_ROOT is not applied on some internal redirects after login and in Settings > User > Info #37518

@parkjeyeong

Description

@parkjeyeong

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    install:configInstallation - Configuration settings

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions