diff --git a/frontend/src/app/services/auth.service.ts b/frontend/src/app/services/auth.service.ts index f88cc1c..d1bd802 100644 --- a/frontend/src/app/services/auth.service.ts +++ b/frontend/src/app/services/auth.service.ts @@ -31,7 +31,7 @@ export class AuthService { public login(code: string): Observable { return this.loginService.login(code).pipe( tap(jwt => { - this.saveJwt(jwt); + this.saveJwt(atob(jwt)); //Decode jwt from base64 this.isAuthenticatedSubject.next(true); }), catchError(error => {