From db394beda6934e1e710d3703d31e546a703229d9 Mon Sep 17 00:00:00 2001 From: akastijn Date: Sun, 6 Jul 2025 20:32:02 +0200 Subject: [PATCH] Add debug logs for JWT and its decoded value in `AuthService`. --- 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 d1bd802..53883e6 100644 --- a/frontend/src/app/services/auth.service.ts +++ b/frontend/src/app/services/auth.service.ts @@ -31,6 +31,8 @@ export class AuthService { public login(code: string): Observable { return this.loginService.login(code).pipe( tap(jwt => { + console.log(jwt); + console.log(atob(jwt)); this.saveJwt(atob(jwt)); //Decode jwt from base64 this.isAuthenticatedSubject.next(true); }),