Merge branch 'DEVELOP_FE' of ssh://git.eclipse.org/gitroot/elogbook/portalFE into DEVELOP_FE
diff --git a/src/app/common/session-context.ts b/src/app/common/session-context.ts
index 1953ecb..5d66c35 100644
--- a/src/app/common/session-context.ts
+++ b/src/app/common/session-context.ts
@@ -46,7 +46,7 @@
const jwtPayload: JwtPayload = new JwtPayload();
const decoded: any = jwtHelper.decodeToken(accessToken);
jwtPayload.name = decoded.name;
- jwtPayload.roles = decoded.roles;
+ jwtPayload.roles = decoded.realm_access.roles;
return jwtPayload;
}
}