mirror of
https://github.com/zvx-echo6/navi.git
synced 2026-05-20 22:54:42 +02:00
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.
This commit is contained in:
parent
fe77c6d459
commit
821b6e03b1
1 changed files with 1 additions and 1 deletions
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue