feat: integrate Logto auth with middleware and login page (#36) #43

Merged
maximus merged 1 commit from issue-36-auth-logto into issue-35-web-setup 2026-04-06 15:38:46 +00:00

1 commit

Author SHA1 Message Date
le king fu
42c39907cd feat: integrate Logto auth with middleware and login page (#36)
- Logto config matching la-compagnie-maximus pattern
- API routes: sign-in, callback, sign-out
- Next.js middleware protecting all routes except /auth and /api
- Auth helper to extract userId (sub) from Logto context
- Login page with Compte Maximus branding

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 11:37:20 -04:00