-
Notifications
You must be signed in to change notification settings - Fork 11.7k
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
Add role_attribute_path and role_attribute_path_strict to auth.gitlab #49147
Conversation
update defaults.ini to add role_attribute_path
Hello, |
Hello @papagian , |
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.
Great thanks for this! Right now role_attribute_path_strict
is not implemented for gitlab but we'll tackle that in another PR. 🚢
Tested using docker as in the original issue. Can confirm it also works |
cf. https://community.grafana.com/t/grafana-gitlab-oauth-env-variable-not-recognized/65039 and #48637 (cherry picked from commit 31a4d97) Co-authored-by: Copolycube <kaourintin+github@gmail.com>
What this PR does / why we need it:
adds 2 parameters from auth.generic to auth.gitlab module since they are not recognized when added as environment variables.
Which issue(s) this PR fixes:
The intention is to fix #48637
Fixes #48637
Special notes for your reviewer:
hoping that it's as simple as this, as suggested by https://community.grafana.com/t/grafana-gitlab-oauth-env-variable-not-recognized/65039/2 but I must acknowledge that I didn't go through the whole grafana code.