nanochat/services/auth/src/tests
Manmohan Sharma 4b4aca642a
feat(auth): OAuth2 + JWT auth service with Alembic migrations (#5 #7)
- Alembic async migrations: users, conversations, messages, is_favorited
- FastAPI auth service: Google + GitHub OAuth, RS256 JWT, refresh cookie
- /auth/me, /auth/refresh, /auth/validate (service-to-service)
- rate limiting 10/min on OAuth routes, CORS locked to FRONTEND_URL

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-16 11:47:00 -07:00
..
__init__.py feat(auth): OAuth2 + JWT auth service with Alembic migrations (#5 #7) 2026-04-16 11:47:00 -07:00
conftest.py feat(auth): OAuth2 + JWT auth service with Alembic migrations (#5 #7) 2026-04-16 11:47:00 -07:00
test_me_endpoint.py feat(auth): OAuth2 + JWT auth service with Alembic migrations (#5 #7) 2026-04-16 11:47:00 -07:00
test_oauth_flow.py feat(auth): OAuth2 + JWT auth service with Alembic migrations (#5 #7) 2026-04-16 11:47:00 -07:00
test_rate_limit.py feat(auth): OAuth2 + JWT auth service with Alembic migrations (#5 #7) 2026-04-16 11:47:00 -07:00
test_user_upsert.py feat(auth): OAuth2 + JWT auth service with Alembic migrations (#5 #7) 2026-04-16 11:47:00 -07:00
test_validate_endpoint.py feat(auth): OAuth2 + JWT auth service with Alembic migrations (#5 #7) 2026-04-16 11:47:00 -07:00