Skip to content

Security/authentication hardening review - #9

Merged
AlexKalll merged 5 commits into
devfrom
security/authentication-hardening-review
Aug 15, 2026
Merged

AlexKalll merged 5 commits into
devfrom
security/authentication-hardening-review

Conversation

@nathanaelcheramlak

Copy link
Copy Markdown
Collaborator

No description provided.

@AlexKalll
AlexKalll merged commit e9058b8 into dev Aug 15, 2026
2 checks passed
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants