-
Notifications
You must be signed in to change notification settings - Fork 11.8k
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
Auth: Add support for role mapping and allowed groups in Google OIDC #76266
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, left one comment but it is not a blocker
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good (although I didn't test it myself). Thanks for getting it in so fast!
pkg/setting/setting.go
Outdated
// FIXME: for now we skip org role sync for google auth | ||
// as we do not sync organization roles from Google | ||
cfg.GoogleSkipOrgRoleSync = true | ||
cfg.GoogleSkipOrgRoleSync = sec.Key("skip_org_role_sync").MustBool(false) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This contradicts with the defaults.ini
:
skip_org_role_sync = true
docs/sources/setup-grafana/configure-security/configure-authentication/google/index.md
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very good job 🎉
I left two suggestions for the docs 👍
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
What is this feature?
Add support for the following oauth config fields
Closes #72797
Closes #72824
Closes #72869
Closes #72870
Closes #72871
Why do we need this feature?
[Add a description of the problem the feature is trying to solve.]
Who is this feature for?
[Add information on what kind of user the feature is for.]
Which issue(s) does this PR fix?:
Fixes #
Special notes for your reviewer:
Please check that: