feat(sso): accept base-issued iframe login
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:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user