grafana/docs/sources/auth
Peter Leitzen 4f70113ea0
OAuth: Support role mapping for GitLab OAuth (#30025)
* Support `role_attribute_path` for GitLab OAuth

Allow role mapping for GitLab accounts.

Example:

  [auth.gitlab]
  role_attribute_path = is_admin && 'Admin' || 'Viewer'

* Support `role_attribute_path` for GitLab OAuth

Allow role mapping for GitLab accounts.

Example:

  [auth.gitlab]
  role_attribute_path = is_admin && 'Admin' || 'Viewer'

* docs: add docs for role_attribute_path

* Apply suggestions from code review

Co-authored-by: Peter Leitzen <splattael@users.noreply.github.com>

* docs: update example

example should suggest a full configuration

* Apply suggestions from code review

Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>

* Apply suggestions from code review

Co-authored-by: Fiona Artiaga <89225282+GrafanaWriter@users.noreply.github.com>

* docs: add suggestions from tech writers

Co-authored-by: Henry Sachs <Henry.Sachs@deutschebahn.com>
Co-authored-by: Henry Sachs <henrysachs@gmail.com>
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
Co-authored-by: Fiona Artiaga <89225282+GrafanaWriter@users.noreply.github.com>
2021-09-13 12:44:37 -04:00
..
_index.md PackageJson: Prettify markdown/mdx on commit with lint-staged (#37616) 2021-08-06 07:52:36 -06:00
auth-proxy.md PackageJson: Prettify markdown/mdx on commit with lint-staged (#37616) 2021-08-06 07:52:36 -06:00
azuread.md PackageJson: Prettify markdown/mdx on commit with lint-staged (#37616) 2021-08-06 07:52:36 -06:00
enhanced_ldap.md Docs: updates for file-based menu (#28500) 2020-11-09 12:26:49 -08:00
generic-oauth.md OAuth: clarify role & group paths prefer id_token over userinfo api (#39066) 2021-09-13 18:15:15 +02:00
github.md PackageJson: Prettify markdown/mdx on commit with lint-staged (#37616) 2021-08-06 07:52:36 -06:00
gitlab.md OAuth: Support role mapping for GitLab OAuth (#30025) 2021-09-13 12:44:37 -04:00
google.md Docs: updates for file-based menu (#28500) 2020-11-09 12:26:49 -08:00
grafana.md PackageJson: Prettify markdown/mdx on commit with lint-staged (#37616) 2021-08-06 07:52:36 -06:00
jwt.md PackageJson: Prettify markdown/mdx on commit with lint-staged (#37616) 2021-08-06 07:52:36 -06:00
ldap.md PackageJson: Prettify markdown/mdx on commit with lint-staged (#37616) 2021-08-06 07:52:36 -06:00
okta.md Docs: updates for file-based menu (#28500) 2020-11-09 12:26:49 -08:00
overview.md Docs: Improve v8 upgrade notes for SQL data sources (#38792) 2021-09-10 17:38:09 +02:00
saml.md Added Pro and Advanced (#37073) 2021-07-21 22:01:13 +02:00
team-sync.md PackageJson: Prettify markdown/mdx on commit with lint-staged (#37616) 2021-08-06 07:52:36 -06:00