fix(auth-callback): post-PKCE navigate to /dashboard not /console/dashboard (#1016)

Last leftover from PR #983's URL contract that PR #992 reverts undid.
PR #996 caught the auth_handover.go + router.tsx /console/dashboard
references but missed AuthCallbackPage.tsx:80. The Sovereign-side
PKCE callback after Keycloak login was navigating to a route that
doesn't exist in the consoleLayoutRoute tree.

Found while verifying otech124 mid-Phase-1.

Co-authored-by: hatiyildiz <hatice.yildiz@openova.io>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
e3mrah 2026-05-06 02:04:18 +04:00 committed by GitHub
parent 0156ae19ec
commit 146e4f4021
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -77,7 +77,7 @@ function SovereignCallbackPage() {
await handleCallback(sovereignFQDN, params)
// Navigate to the console dashboard — replace so the callback
// URL doesn't appear in browser history.
router.navigate({ to: '/console/dashboard' as never, replace: true })
router.navigate({ to: '/dashboard' as never, replace: true })
} catch (err) {
setState({
status: 'error',