Commit graph

12 commits

Author SHA1 Message Date
e50ba8ffad Fix auth titles 2025-11-30 23:22:04 -08:00
de616755f5 auth: use placeholders instead of labels, add username note 2025-11-30 23:15:56 -08:00
e3e9ccdd6c auth: add port-breeze background and back-to-home link 2025-11-30 23:15:52 -08:00
3498b7d966 add signup redirect to register 2025-11-30 22:28:13 -08:00
93efc9946a add registration page with validation 2025-11-30 22:26:32 -08:00
fd10dcfb15 add login page with contained inputs 2025-11-30 22:26:32 -08:00
762d5c0fc0 add auth layout with centered container 2025-11-30 22:26:32 -08:00
ebc0e48e92 fix: Phase 5 - fix environment variable imports (38 -> 37 errors)
Resolved PUBLIC_SIERO_OAUTH_URL import issue by removing the intermediate
config.ts file and importing environment variables directly where needed.

Changes:
- Removed src/lib/config.ts (unnecessary abstraction layer)
- Updated src/lib/auth/oauth.ts to import PUBLIC_SIERO_API_URL directly
- Updated src/routes/auth/refresh/+server.ts to import directly
- Construct OAUTH_BASE locally as `${PUBLIC_SIERO_API_URL}/oauth`

This fixes the TypeScript error where svelte-check couldn't resolve
PUBLIC_SIERO_OAUTH_URL from the config file, even though the variable
was properly defined in .env and .svelte-kit/ambient.d.ts.

Result: 38 → 37 errors (-1)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-28 19:33:15 -08:00
79c0de3128 remove barrel files and update imports 2025-09-29 23:37:37 -07:00
d6b868a9fd add auth store and update auth flow 2025-09-23 22:09:14 -07:00
8166ee31dd Re-export OAUTH_BASE from env var 2025-09-09 03:20:27 -07:00
f221c12f40 Starter routes (including login and logout) 2025-09-09 03:19:12 -07:00