mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-04 12:56:02 +02:00
internal/identity: use email for group identifier for gsuite (#72)
This commit is contained in:
parent
b93a8aa79c
commit
a39e84cef8
1 changed files with 1 additions and 1 deletions
|
@ -211,7 +211,7 @@ func (p *GoogleProvider) UserGroups(ctx context.Context, user string) ([]string,
|
||||||
return nil, fmt.Errorf("identity/google: group api request failed %v", err)
|
return nil, fmt.Errorf("identity/google: group api request failed %v", err)
|
||||||
}
|
}
|
||||||
for _, group := range resp.Groups {
|
for _, group := range resp.Groups {
|
||||||
groups = append(groups, group.Name)
|
groups = append(groups, group.Email)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return groups, nil
|
return groups, nil
|
||||||
|
|
Loading…
Add table
Reference in a new issue