All 6 service strategies were returning { sub } but controllers use req.user.id.
Change return value from { sub: payload.sub } to { id: payload.sub } so that
req.user.id resolves correctly in all protected controllers.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
||
|---|---|---|
| .. | ||
| kong | ||
| migrations | ||
| packages | ||
| scripts | ||
| services | ||
| .dockerignore | ||
| .env.example | ||
| deploy.sh | ||
| docker-compose.yml | ||