From 2b96957876dfa8e86619d353eb1ba29ced2b796e Mon Sep 17 00:00:00 2001 From: akastijn Date: Sat, 2 Aug 2025 21:49:41 +0200 Subject: [PATCH] Add debug logging for JWT claims extraction in `auth.service.ts`. --- frontend/src/app/services/auth.service.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/src/app/services/auth.service.ts b/frontend/src/app/services/auth.service.ts index 7ab1a07..8a25f8a 100644 --- a/frontend/src/app/services/auth.service.ts +++ b/frontend/src/app/services/auth.service.ts @@ -64,6 +64,7 @@ export class AuthService { } const claims = this.extractJwtClaims(jwt); + console.log("Logged in with ", claims); this.userClaimsSubject.next(claims); this.isAuthenticatedSubject.next(true); return true; @@ -88,6 +89,7 @@ export class AuthService { localStorage.setItem('jwt', jwt); const claims = this.extractJwtClaims(jwt); + console.log("Logged in with ", claims); this.userClaimsSubject.next(claims); }