dex
dex copied to clipboard
fix for issue 2670; check for no serviceAccountFilePath and no email
Overview
This (hopefully) reverts a bug introduced in #2530 which does not handle the case where application default credentials nor a service account file (containing credentials) are needed to operate a Google connector.
What this PR does / why we need it
Fixes: #2670
Special notes for your reviewer
Does this PR introduce a user-facing change?
NONE
fixes regression for Google connector when used without groups
Signed-off-by: Bob Callaway [email protected]
@ichbinfrog
@bobcallaway Thanks! I think we can make a patch release with this fix, but there is a test that is failing.
@bobcallaway Thanks! I think we can make a patch release with this fix, but there is a test that is failing.
just noticed that and updated the fix to check if a connector has any groups specified before trying to create the directory service.
LGTM
@ichbinfrog , do you have to add something (as the original author of the feature)?
The PR LGTM @nabokihms
No, everything is fine.