From 821b6e03b19e9ae591454b49c11c2e7668b50951 Mon Sep 17 00:00:00 2001 From: Matt Date: Mon, 27 Apr 2026 03:55:48 +0000 Subject: [PATCH] fix: use direct Authentik invalidation flow for logout The /outpost.goauthentik.io/sign_out path returns 404 on the Authentik server - it is not a real endpoint. Changed logout to redirect directly to auth.echo6.co/if/flow/default-invalidation-flow with a next= param to return to navi.echo6.co after logout. --- src/components/Panel.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Panel.jsx b/src/components/Panel.jsx index b12059c..e490324 100644 --- a/src/components/Panel.jsx +++ b/src/components/Panel.jsx @@ -62,7 +62,7 @@ export default function Panel({ onManeuverClick }) { // Auth handlers const handleLogin = () => { window.location.href = '/outpost.goauthentik.io/start?rd=%2F' } - const handleLogout = () => { window.location.href = '/outpost.goauthentik.io/sign_out' } + const handleLogout = () => { window.location.href = 'https://auth.echo6.co/if/flow/default-invalidation-flow/?next=https://navi.echo6.co/' } // Optimize stops const hasGpsOrigin = gpsOrigin && geoPermission === 'granted'