Security/authentication hardening review - #9
Merged
Merged
Conversation
AlexKalll
added a commit
that referenced
this pull request
Aug 16, 2026
The backend could not start after the security/financial/authorization PRs were merged. This fixes all the issues that blocked booting: - Transaction entity: explicitly type provider_reference, provider_status, and failure_reason as varchar so TypeORM/Postgres accept them (union types were being reported as "Object") - RefreshSession entity: explicitly type revoked_at as timestamp - ProjectModule: export TypeOrmModule so ProjectScopeGuard can resolve ProjectRepository/TaskRepository in other modules - main.ts: Bull Board Queue now connects to Redis with the full REDIS_URL (which includes the password) instead of host+port, fixing NOAUTH errors - health controller: stop pinging docs.nestjs.com (external DNS blocked on Docker networks) so the health check no longer reports 503 - docker-compose: remove internal: true from the network - it disabled published ports (frontend could not reach :3000) and blocked outbound internet (SMTP/SMS/payments); the databases still have no published ports so they remain unreachable from the host - main.ts: fix app name in startup log message Verified: all containers healthy, /api/health returns 200, migrations run, demo users seed (10 users), and POST /api/iam/auth/login returns 200. 🤖 Generated with Codebuff Co-Authored-By: Codebuff <noreply@codebuff.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.