Files
corrosion-admin-panel/backend-nest
Vantz Stockwell fee16c3b2b
All checks were successful
Test Asgard Runner / test (push) Successful in 3s
fix: Add license_id to JWT payload — unblocks all tenant-scoped operations
The JWT was missing license_id, causing @CurrentTenant() to throw 401
on every protected route. Now generateTokens() accepts a licenseId
param, and all three callers (register, login, refresh) look up the
user's license and pass it through.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-21 15:52:22 -05:00
..