Passport answers token failures with a generic `invalid_request` description and puts the actual cause in `hint` (invalid redirect URI, expired or revoked code, code issued to another client…). The proxy dropped it, so sign-in showed only "The request is missing a required parameter…". It is now appended to the error message and logged with the grant type and client id. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
api-identity-infrastructure
Adaptadores de salida de identidad.
- Import:
@task-stream/api/identity/infrastructure - Capa:
infrastructure· Tags:scope:api-identity,type:infrastructure
Contenido
PireonIdentityProvider:GET /api/user,/api/usersyPOST /oauth/tokende Pireon.RedisSessionCache: tokens validados, guardados por hash SHA-256 y con TTL.MongoUserRegistry: copia local de usuarios (colecciónusers).
Comandos
npx nx lint api-identity-infrastructure
npx nx test api-identity-infrastructure # Jest
Reglas de dependencia entre capas: Arquitectura.