fix: redirect to workspace on sso session error (#97)

This commit is contained in:
Björn Steinhagen
2026-03-27 18:15:54 +02:00
committed by GitHub
parent a69de13f16
commit 6f2f599b1b
+7
View File
@@ -591,6 +591,13 @@ const upgradePlanButtonAction = () => {
)
return
}
// catch SSO session expired / any other unhandled permission flags
// redirecting to the workspace root will trigger the standard web authentication flow.
if (selectedWorkspace.value?.slug) {
$openUrl(
`${account.value.accountInfo.serverInfo.url}/workspaces/${selectedWorkspace.value?.slug}`
)
}
}
const loadMore = () => {