dosubot[bot] commented on issue #35027: URL: https://github.com/apache/superset/issues/35027#issuecomment-3448069030
<!-- Answer --> There isn't a fix yet for the Userinfo URL missing the SUPERSET_APP_ROOT prefix—this is a known gap in subpath support. The Userinfo endpoint is still hardcoded as `/user_info/` in both the frontend and backend, so it doesn't include your app root (like `/analytics`) when deployed under a subpath. This is the same root cause as other missing-prefix bugs (like static assets and some menu links) and is a limitation of the current BETA subpath deployment feature. Recent fixes (like for Export CSV and OAuth login links) use a utility (`ensureAppRoot`) to prepend the app root, but this hasn't been applied to Userinfo yet. Until an upstream fix lands, the only workaround is to use proxy rewrites or custom middleware to redirect `/user_info/` to the correct prefixed path. You can track similar issues and see the recommended fix pattern in [this discussion](https://github.com/apache/superset/issues/34773#issuecomment-3206615392) and [this related PR](https://github.com/apache/superset/pull/33508). <!-- 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/c5c0f737-f87c-4905-9623-14f2fb51bcd9?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/c5c0f737-f87c-4905-9623-14f2fb51bcd9?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/c5c0f737-f87c-4905-9623-14f2fb51bcd9?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/c5c0f737-f87c-4905-9623-14f2fb51bcd9?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/c5c0f737-f87c-4905-9623-14f2fb51bcd9?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/c5c0f737-f87c-4905-9623-14f2fb51bcd9?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/c5c0f737-f87c-4905-9623-14f2fb51bcd9?feedback_type=other)</sup> [](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=githu b) [](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/issues/35027) -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
