From b4493ce3faa98efde81dac471c20a493b6d4fad3 Mon Sep 17 00:00:00 2001 From: Till-JS <101404291+Till-JS@users.noreply.github.com> Date: Sun, 1 Feb 2026 05:58:47 +0100 Subject: [PATCH] debug: add token endpoint logging --- services/mana-core-auth/src/auth/oidc.controller.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/services/mana-core-auth/src/auth/oidc.controller.ts b/services/mana-core-auth/src/auth/oidc.controller.ts index 6f0861ca1..b078c8833 100644 --- a/services/mana-core-auth/src/auth/oidc.controller.ts +++ b/services/mana-core-auth/src/auth/oidc.controller.ts @@ -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); }