GitHub user dosubot[bot] added a comment to the discussion: Login redirection does not use subpath prefix
<!-- Answer --> The most likely cause is that [PR #39465](https://github.com/apache/superset/pull/39465) switches the frontend to use the endpoint `GET /api/v1/security/roles/{id}/permissions/`, which is a Flask-AppBuilder (FAB) endpoint that may not exist in your version of FAB [[1]](https://github.com/apache/superset/pull/39465). **To confirm**, open your browser's DevTools → Network tab, trigger the error by typing in the search field, and check: - What URL is being called - What HTTP status you get back (likely 404 or 400) **Quick diagnostic:** Try hitting the endpoint directly in your browser or via curl: ```bash curl -H "Authorization: Bearer <your_token>" \ https://localhost/analytics/api/v1/security/roles/1/permissions/ ``` If you get a 404, your Flask-AppBuilder version doesn't support this endpoint and you'll need to upgrade it. **What you can do:** 1. **Check your FAB version:** `pip show flask-appbuilder` — the role permissions endpoint was added in a newer FAB release 2. **Upgrade FAB** if it's outdated: `pip install --upgrade flask-appbuilder` 3. **Alternatively**, if upgrading FAB isn't feasible, you may need to revert the cherry-pick and wait until you can upgrade the full stack together The issue is that PR #39465 is a frontend-only change that assumes the backend already has the `/api/v1/security/roles/{id}/permissions/` endpoint available [[2]](https://github.com/apache/superset/pull/39465). Cherry-picking just the frontend change without the matching backend support causes the mismatch you're seeing. <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=reply-with-mention&utm_term=apache%2Fsuperset).* --- Share context across your team and agents. Try [Dosu](https://dosu.dev?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-tagline&utm_term=apache%2Fsuperset). [](https://app.dosu.dev/response-feedback?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-feedback&utm_term=apache%2Fsuperset&message_id=7c909264-00c5-496e-a510-2aaae03152e4) [](https://github.dosu.com/apache/superset?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-learn-repo&utm_term=apache%2Fsuperset) [](https://app.dosu.dev/signup?referrer=openSource&source=github-footer&utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-add-team&utm_term=apache%2Fsuperset) GitHub link: https://github.com/apache/superset/discussions/40082#discussioncomment-17240482 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
