Commit Graph

5 Commits

Author SHA1 Message Date
Z User
efd6d519ce Fix Auth0 authentication: remove audience parameter for simpler OIDC flow 2026-03-27 23:25:13 +00:00
Z User
4e0dd4c107 Simplify auth flow for Regular Web Application
- Remove Auth0 SPA SDK dependency
- Use direct redirects to Auth0
- Exchange code via backend POST /api/auth/token
- Store tokens in localStorage
- Handle callback with code parameter
2026-03-27 23:16:14 +00:00
Z User
5ac38423c4 Add Auth0 Client ID to config 2026-03-27 22:59:37 +00:00
Z User
0c4dd91175 Fix Auth0 domain: add .us. region prefix 2026-03-27 22:55:38 +00:00
Z User
2e693de7fa Add Auth0 authentication and user dashboard
- Add Auth0 SPA SDK integration for authentication
- Create login/logout flow with Auth0
- Add user dashboard page with:
  - Profile display and editing
  - Credits balance and transaction history
  - API key management (create/revoke)
  - Account settings
- Add API client for backend communication
- Update navbar with Login/Dashboard buttons
- Preserve existing landing page design

Configuration:
- Auth0 Domain: dev-t13zhs74oltgqtfxf.auth0.com
- API base: /api (proxied through Caddy)
2026-03-27 22:27:46 +00:00