Incorrect user info in the head when using lightweight access token for account-console
closes #28624 Signed-off-by: mposolda <mposolda@gmail.com>
This commit is contained in:
parent
8f8094408e
commit
ca00395877
1 changed files with 2 additions and 2 deletions
|
@ -66,7 +66,7 @@ const KeycloakMasthead = ({
|
|||
);
|
||||
}
|
||||
|
||||
const picture = keycloak.tokenParsed?.picture;
|
||||
const picture = keycloak.idTokenParsed?.picture;
|
||||
return (
|
||||
<PageHeader
|
||||
{...rest}
|
||||
|
@ -101,7 +101,7 @@ const KeycloakMasthead = ({
|
|||
dropDownItems={[...dropdownItems, extraItems]}
|
||||
title={
|
||||
hasUsername
|
||||
? loggedInUserName(keycloak.tokenParsed, t)
|
||||
? loggedInUserName(keycloak.idTokenParsed, t)
|
||||
: undefined
|
||||
}
|
||||
/>
|
||||
|
|
Loading…
Reference in a new issue