flows: continous login debug 2025.12 (#21044)

* flows: continous login debug 2025.12

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

* no hardcoded prefix

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

---------

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens L.
2026-03-20 19:27:22 +01:00
committed by GitHub
parent 0262bff1a4
commit d78dbbd45f
+1 -1
View File
@@ -182,7 +182,7 @@ export class FlowExecutor
const next = qs.get("next");
if (next) {
const url = new URL(next, window.location.origin);
if (url.origin !== window.location.origin) {
if (!url.pathname.startsWith(`${globalAK().api.relBase}if/flow`)) {
multiTabOrchestrateLeave();
}
window.location.assign(url);