Files
api/services/auth
Roberto Musso 1e2e395676 fix: PEM newline parsing + shared config extra=ignore
- Add field_validator to expand literal \n in PEM keys (auth config + shared config)
- Set extra='ignore' on shared Settings so service-specific .env vars don't cause ValidationError
- Add *.pem to .gitignore
2026-03-22 01:03:28 +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)