-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OIDC provider config doesn't work with Google #2113
Comments
Is the thing that doesn't work just groups? Because there is no scope that lets you grab groups from google. You'd need to do something like https://dexidp.io/docs/connectors/google/#fetching-groups-from-google which I don't think we should build into gitops. |
+1 for GitLab self-hosted, scope When trying to login with GitLab I get: |
to share our experience - we're on Google for GKE and group-based RBAC in the cluster. these help us use flux safely across the team and not have to managed gnarly custom users/roles. but as we were setting up GitOps and excited about it, we tried the OIDC provider -> Google OAuth client, there's no way to grab and assume the group, which means none of our RoleBindings will apply. the end result is that only the admin user has permissions to the cluster, and all OIDC users do not |
Solution might be to make list of scope configurable.
--google-scopes
etc rather than allowing a generic list of strings as we need to know the correct key to grab the groups from, e.g. "teams".The text was updated successfully, but these errors were encountered: