generated from toph/supa-svelte
feat: OTP auth, login dialog, optional PocketBase #8
No reviewers
Labels
No labels
???
bug
duplicate
enhancement
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Depends on
#6 feat: integrate @fightmegg/riot-api for League of Legends data
toph/spellbinder
Reference
toph/spellbinder!8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "auth"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Replaces password-based login with email OTP and moves all auth state server-side.
requestOTP→verifyOTPvia remote commands (no moreform()orauthWithPassword)LoginDialogcomponent rendered globally from root layout, controlled byloginDialogstore/loginredirects server-side to/?login(opens dialog);/logoutroute clears cookie and redirectspage.data.uservia+layout.server.tsinstead of client-sideauthstore$lib/client/pocketbase.ts) and auth store ($lib/client/auth.svelte.ts)POCKETBASE_URLis unsetRIOT_API_KEYenv var (falls back to PB vault)Fieldcomponent restyled with glass aesthetic (backdrop blur, icon support)ApiClientno longer auto-attaches auth token (httpOnly cookie handles it)6e67afbcf1to74a6adb32d74a6adb32dto442ce2acd6c8773c6817to4f2e6e2c94caec810d8etoaac45867375daea25d4dto96c66a607bWIP: authenticationto feat: server-side OTP authenticationfeat: server-side OTP authenticationto feat: OTP auth, login dialog, optional PocketBase96c66a607bto38bf78b44638bf78b446tobdce45b85b