FEAT: add authProvider field to user response

- Add authProvider to user entity DTO
- Update user service to include authProvider
- Update auth controller response

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Rafael
2026-01-07 18:55:36 -03:00
co-authored by Claude Opus 4.5
parent 275a53dbd1
commit 52bda8ebe2
6 changed files with 15 additions and 14 deletions
+2 -1
View File
@@ -215,7 +215,8 @@ export class AuthController {
const { username } = body;
return this.authClient.resetPassword({ username }, metadata);
await this.authClient.resetPassword({ username }, metadata);
return { authProvider: process.env.AUTH_PROVIDER || 'cognito' };
}
@ApiInternalOnlyEndpoint()