Authentik OIDC integration #4

Closed
opened 2026-01-28 19:02:38 +00:00 by jason.woltje · 0 comments
Owner

Implement authentication via Authentik OIDC.

Backend (NestJS):

  • OIDC client configuration
  • JWT validation middleware
  • User provisioning on first login
  • Session management with Valkey

Frontend (Next.js):

  • NextAuth.js with Authentik provider
  • Protected routes
  • Auth context provider
  • Login/logout flows

Environment variables:

  • AUTHENTIK_URL
  • AUTHENTIK_CLIENT_ID
  • AUTHENTIK_CLIENT_SECRET
  • JWT_SECRET

Test: SSO login flow works end-to-end

Implement authentication via Authentik OIDC. **Backend (NestJS):** - OIDC client configuration - JWT validation middleware - User provisioning on first login - Session management with Valkey **Frontend (Next.js):** - NextAuth.js with Authentik provider - Protected routes - Auth context provider - Login/logout flows **Environment variables:** - AUTHENTIK_URL - AUTHENTIK_CLIENT_ID - AUTHENTIK_CLIENT_SECRET - JWT_SECRET **Test:** SSO login flow works end-to-end
jason.woltje added this to the M1-Foundation (0.0.1) milestone 2026-01-28 19:02:38 +00:00
jason.woltje added the authp0 labels 2026-01-28 19:02:38 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mosaic/stack#4