mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 22:41:09 +02:00
debug: add token endpoint logging
This commit is contained in:
parent
1b39aa8308
commit
b4493ce3fa
1 changed files with 3 additions and 0 deletions
|
|
@ -59,6 +59,9 @@ export class OidcController {
|
|||
*/
|
||||
@Post('api/auth/oauth2/token')
|
||||
async tokenOauth2(@Req() req: Request, @Res() res: Response) {
|
||||
console.log('[Token Endpoint] Content-Type:', req.headers['content-type']);
|
||||
console.log('[Token Endpoint] Body:', req.body);
|
||||
console.log('[Token Endpoint] Body keys:', Object.keys(req.body || {}));
|
||||
return this.handleOidcRequest(req, res);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue