Daniel Lipovetsky
07d7913049
chore: Upgrade golangci-lint to v1.50.1 from v1.46.0 ( #2790 )
3 years ago
Matt H
c167276b07
Move unique functionality into getGroups to reduce calls to google ( #2628 )
...
Signed-off-by: Matt Hoey <matt.hoey@missionlane.com>
3 years ago
Mark Sagi-Kazar
cadce3cc35
fix(connector/google): only initialize admin service if necessary
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
4 years ago
Mark Sagi-Kazar
9bcce63352
fix(connector/google): make admin email optional for default creds
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
4 years ago
Mark Sagi-Kazar
6a59f08e4e
Revert "fix: check for no serviceAccountFilePath and no email ( #2679 )"
...
This reverts commit 49477729ce .
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
4 years ago
Bob Callaway
49477729ce
fix: check for no serviceAccountFilePath and no email ( #2679 )
...
Signed-off-by: Bob Callaway <bcallaway@google.com>
4 years ago
Hoang Quoc Trung
a1a3ed5b25
Implement Application Default Credentials for the google connector ( #2530 )
...
Signed-off-by: Trung <trung.hoang@pricehubble.com>
4 years ago
Matt Hoey
ee5b5b25bd
Resolves #2111 Option to fetch transitive group membership
...
Signed-off-by: Matt Hoey <matt.hoey@missionlane.com>
5 years ago
Eng Zer Jun
f0186ff265
refactor: move from io/ioutil to io and os package
...
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil . This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
5 years ago
Mark Sagi-Kazar
b8ac640c4f
Update oidc library
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
5 years ago
m.nabokikh
4d63e9cd68
fix: Bump golangci-lint version and fix some linter's problems
...
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
6 years ago
Brian Candler
442d3de11d
Allow the "google" connector to work without a service account
...
Fixes #1718
6 years ago
Fabrice Rabaute
b85d7849ad
google: Retrieve all the groups for a user
...
The list of groups is paginated (default page is 200), so when a user
has more than 200 groups, only the first 200 are retrieve.
This change is retrieving all the groups for a user by querying all the
pages.
6 years ago
Mark Sagi-Kazar
9bd5ae5197
Fix goimports
6 years ago
Mark Sagi-Kazar
8c3dc0ca66
Remove unused code (fixed: unused, structcheck, deadcode linters)
6 years ago
Nandor Kracser
a38e215891
connector/google: support group whitelisting
...
Signed-off-by: Nandor Kracser <bonifaido@gmail.com>
6 years ago
Joel Speed
658a2cc477
Make directory service during init
7 years ago
Joel Speed
554870cea0
Add todo for configurable groups key
7 years ago
Joel Speed
6a9bc889b5
Update comments
7 years ago
Joel Speed
c03c98b951
Check config before getting groups
7 years ago
Joel Speed
3f55e2da72
Get groups from directory api
7 years ago
Joel Speed
36370f8f2a
No need to configure issuer
7 years ago
Joel Speed
97ffa21262
Create separate Google connector
7 years ago