displayName correctly integrated
This commit is contained in:
parent
ad469129bc
commit
27b2831f00
13 changed files with 16 additions and 20 deletions
|
|
@ -132,10 +132,6 @@ function getName(user: client.UserInfoResponse, claims: client.IDToken) {
|
|||
return user.name;
|
||||
}
|
||||
|
||||
if (user.displayName) {
|
||||
return user.displayName;
|
||||
}
|
||||
|
||||
if (claims.name && typeof claims.name === 'string') {
|
||||
return claims.name;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue