Giovanni Vella
25591eeaf4
Add support to PKCE in OIDC connector ( #3777 )
...
Signed-off-by: johnvan7 <giovanni.vella98@gmail.com>
Signed-off-by: Giovanni Vella <giovanni.vella98@gmail.com>
3 weeks ago
Oleksandr Redko
9891daa585
refactor: simplify tests by using slog.DiscardHandler ( #4058 )
...
Signed-off-by: Oleksandr Redko <oleksandr.red+github@gmail.com>
12 months ago
Maksim Nabokikh
63f4410ac1
Update dependencies before Dex v2.41 ( #3637 )
...
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
2 years ago
Sean Liao
0b6a78397e
use slog for structured logging ( #3502 )
...
Signed-off-by: Sean Liao <sean+git@liao.dev>
2 years ago
MichaelKo
b0575946b1
Google: Implement groups fetch by default service account from metadata (support for GKE workload identity) ( #2989 )
...
Signed-off-by: Viacheslav Sychov <viacheslav.sychov@gmail.com>
Signed-off-by: Maksim Nabokikh <maksim.nabokikh@flant.com>
Co-authored-by: Maksim Nabokikh <maksim.nabokikh@flant.com>
2 years ago
Abhisek Datta
677ab36020
feat: Add support for configurable prompt type for Google connector ( #3475 )
...
Signed-off-by: abhisek <abhisek.datta@gmail.com>
Signed-off-by: Maksim Nabokikh <max.nabokih@gmail.com>
Co-authored-by: Maksim Nabokikh <max.nabokih@gmail.com>
2 years ago
MichaelKo
6cd5c8b867
#2895 : Add Support for Multiple Admin Emails to Retrieve Group Lists ( #2911 )
...
Signed-off-by: Viacheslav Sychov <viacheslav.sychov@gmail.com>
3 years ago
Josh Soref
ad1fc3b7c1
spelling: upon
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
3 years ago
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>
3 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>
3 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>
3 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>
4 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>
5 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
6 years ago
Joel Speed
554870cea0
Add todo for configurable groups key
6 years ago
Joel Speed
6a9bc889b5
Update comments
6 years ago
Joel Speed
c03c98b951
Check config before getting groups
6 years ago
Joel Speed
3f55e2da72
Get groups from directory api
6 years ago
Joel Speed
36370f8f2a
No need to configure issuer
6 years ago
Joel Speed
97ffa21262
Create separate Google connector
6 years ago