Project not found.
Phase F5: Keycloak OIDC Auth for pal-e-app
Goal: Add Keycloak OIDC authentication to pal-e-app. Write operations (Quick-Jot) require login. Read operations remain public. Reuse the proven westside-app Auth.js pattern.
Owner: Dev-Frontend agent
Repo:
forgejo_admin/pal-e-appDepends on: None — Keycloak is deployed, OIDC flow proven in westside-app (PR #9).
Scope
- Add Auth.js (SvelteKit) with Keycloak OIDC provider — reuse pattern from
westside-app/src/auth.ts - Create
pal-e-appclient in Keycloak realm (or reuse existing client) - SOPS-encrypt client secret, deploy to
pal-e-appnamespace k8s secret - Protect write routes:
POST /api/notesrequires authenticated session - Quick-Jot FAB: show only when authenticated, prompt login when not
- Add sign-in/sign-out routes (
/signin,/signout) - Nav bar: show user name + sign out when authenticated, sign in button when not
- Read routes (
/notes,/boards,/search,/dashboard) remain public — no auth required - Session cookie: HttpOnly, Secure, SameSite=Lax
Deliverables
- TBD — filled after completion
Related
plan-pal-e-docs— parent planphase-pal-e-docs-quick-jot— Phase F3 (write capability that needs auth)phase-pal-e-docs-private-notes— Phase F6 (private notes depend on auth)