apac-ops-bot/backend
SamoilenkoVadym 8149a98bd6 Fix test user authentication issues
Fixed email validation and token hashing:
- Changed test user emails from @test.local to @example.com (valid domain)
- Replaced passlib bcrypt for JWT token hashing with SHA-256 (no length limit)
- Improved error handling in SimpleLogin component for validation errors
- Deleted old test users and recreated with valid emails

Credentials:
- Admin: admin@example.com / admin
- User: user@example.com / user

Note: bcrypt still used for password hashing (in auth_service.py),
but SHA-256 for JWT token hashing to avoid 72-byte limit.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-27 20:09:07 +00:00
..
alembic Add test user authentication and RBAC admin panel 2026-01-27 20:05:54 +00:00
app Fix test user authentication issues 2026-01-27 20:09:07 +00:00
scripts Fix test user authentication issues 2026-01-27 20:09:07 +00:00
tests Implement OpenAI Responses API service with RAG enforcement 2026-01-27 14:26:43 +00:00
.env.example Add comprehensive backend test suite and Phase 1 foundation 2026-01-27 14:24:59 +00:00
alembic.ini Add comprehensive backend test suite and Phase 1 foundation 2026-01-27 14:24:59 +00:00
Dockerfile Add comprehensive backend test suite and Phase 1 foundation 2026-01-27 14:24:59 +00:00
requirements-dev.txt Add comprehensive backend test suite and Phase 1 foundation 2026-01-27 14:24:59 +00:00
requirements.txt Add test user authentication and RBAC admin panel 2026-01-27 20:05:54 +00:00