Files
api/services/auth
Roberto Musso 59d3a53980 chore: update .env.example files for RS256 + Redis
- Root .env.example: replace JWT_SECRET/JWT_ALGORITHM with JWT_PUBLIC_KEY, add REDIS_URL
- Auth Service .env.example: JWT_PRIVATE_KEY + JWT_PUBLIC_KEY with generation instructions
2026-03-22 00:51:54 +01:00
..

Auth Service

Owns: user registration, login, JWT RS256 issuance, token refresh, /me endpoint.

Tables owned

  • users
  • refresh_tokens
  • subscriptions (read; Billing Service writes)

Endpoints

  • POST /auth/register
  • POST /auth/login
  • POST /auth/refresh
  • GET /auth/me
  • PUT /auth/me
  • GET /auth/verify (ForwardAuth for Traefik)