Identity: Remove id token from extra info (#91169)
This commit is contained in:
@@ -94,14 +94,7 @@ func (u *SignedInUser) GetName() string {
|
||||
|
||||
// GetExtra implements Requester.
|
||||
func (u *SignedInUser) GetExtra() map[string][]string {
|
||||
extra := map[string][]string{}
|
||||
if u.IDToken != "" {
|
||||
extra["id-token"] = []string{u.IDToken}
|
||||
}
|
||||
if u.OrgRole.IsValid() {
|
||||
extra["user-instance-role"] = []string{string(u.GetOrgRole())}
|
||||
}
|
||||
return extra
|
||||
return map[string][]string{}
|
||||
}
|
||||
|
||||
// GetGroups implements Requester.
|
||||
|
||||
Reference in New Issue
Block a user