How to override /login?logout_failure redirect in Dockerized cBioPortal (v6.x) without modifying source? #11524
patheyacine
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We’re using the latest version of cBioPortal in a Dockerized setup (v6.x), with Azure OAuth2 for authentication. When a user is unauthorized or disabled in the DB, they are redirected to /login?logout_failure, which shows a hardcoded MSK error page.
We want to show a custom logout/error page instead — but without modifying the source code or rebuilding the frontend.
Is there a supported way to:
Override or intercept /login?logout_failure
Redirect to a custom static HTML page
Possibly configure this via application.properties or environment variables?
We’re currently considering a reverse proxy (NGINX) workaround, but would prefer a cleaner or officially supported approach if available.
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions