feat(sso): accept base-issued iframe login
CI / build (push) Has been skipped
CI / deploy (push) Successful in 47s

Handle Base SSO tokens on initial requests so HRM can bootstrap PocketBase auth and redirect into the app without a separate login.
This commit is contained in:
eewing
2026-02-19 09:36:08 -06:00
parent bbf185df50
commit 7c1d089035
3 changed files with 61 additions and 3 deletions
+12 -1
View File
@@ -267,7 +267,18 @@
<main class="flex flex-col gap-6 p-6 md:p-8">
<div class="flex flex-wrap items-center gap-4">
<Button variant="ghost" size="icon" href="/" class="shrink-0">
<Button
variant="ghost"
size="icon"
href="/"
class="shrink-0"
onclick={(e) => {
if (typeof window !== 'undefined' && window.history.length > 1) {
e.preventDefault();
window.history.back();
}
}}
>
<ArrowLeftIcon class="size-4" />
</Button>
<h1 class="text-2xl font-semibold tracking-tight shrink-0 flex items-center gap-2 flex-wrap">