Auth web + middleware Logto #36

Closed
opened 2026-04-06 14:32:52 +00:00 by maximus · 0 comments
Owner

Contexte

Intégrer l'authentification Logto (Compte Maximus) dans l'app web Next.js.

Ref: spec-simpl-liste-web.md

Taches

  • Intégrer @logto/next (sign-in, sign-out, callback)
  • Middleware Next.js : protéger /(app)/, extraire userId (sub Logto)
  • Page de login (/auth) avec redirect vers Logto
  • Gestion de session (cookie HttpOnly, Secure, SameSite=Strict)

Dépendances

Depends on #35

## Contexte Intégrer l'authentification Logto (Compte Maximus) dans l'app web Next.js. Ref: `spec-simpl-liste-web.md` ## Taches - [ ] Intégrer `@logto/next` (sign-in, sign-out, callback) - [ ] Middleware Next.js : protéger `/(app)/`, extraire userId (`sub` Logto) - [ ] Page de login (`/auth`) avec redirect vers Logto - [ ] Gestion de session (cookie `HttpOnly`, `Secure`, `SameSite=Strict`) ## Dépendances Depends on #35
maximus added this to the spec-simpl-liste-web milestone 2026-04-06 14:32:52 +00:00
maximus added the
status:ready
type:feature
source:human
labels 2026-04-06 14:32:52 +00:00
maximus added
status:approved
and removed
status:ready
labels 2026-04-06 15:38:16 +00:00
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: maximus/simpl-liste#36
No description provided.