Skip to content
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

Support Google Workspace groups retrieval when using Google as OIDC #4706

Open
achetronic opened this issue Apr 23, 2024 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@achetronic
Copy link

Is your feature request related to a problem? Please describe.
I'm always frustrated when using Google Oauth2 client as OIDC due to groups are not included in the JWT

Describe the solution you'd like
The exact same as you use in Hashicorp Vault. Basically, use a Google Service Account to access Admin Console API (gsuite, google workspace) and retrieve the groups for a user to bind them to boundary roles internally

Describe alternatives you've considered
Craft a complete proxy that intercepts the JWTs and inject some custom claims, and then resign the token. But i'm not sure if this is completely possible

Explain any additional use-cases
n/a

Additional context
Most companies out there use groups as separator in Google Workspace for employees when using Google as cloud provider... Completely agree this is Google's blame, but please, could you support the same that you support on Vault? 🙏🏼

@achetronic achetronic added the enhancement New feature or request label Apr 23, 2024
@achetronic
Copy link
Author

achetronic commented May 3, 2024

For those looking for thia feature, we have created a little syncer for this:

https://github.com/freepik-company/bgos

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant