JWT: Add org role mapping support to the JWT provider (#101584)
* add org role mapping to the jwt provider * Fix indentation for OrgMapping assignment * add-test * fix linting * add org_attribute_path * fix test * update doc * update doc * Update pkg/services/authn/clients/jwt.go * Update docs --------- Co-authored-by: Mihaly Gyongyosi <mgyongyosi@users.noreply.github.com>
This commit is contained in:
co-authored by
Mihaly Gyongyosi
parent
ea89499209
commit
aeca9a80a4
+4
-2
@@ -132,7 +132,7 @@
|
||||
# Set to true or false to enable or disable high availability mode.
|
||||
# When it's set to false some functions will be simplified and only run in-process
|
||||
# instead of relying on the database.
|
||||
#
|
||||
#
|
||||
# Only set it to false if you run only a single instance of Grafana.
|
||||
;high_availability = true
|
||||
|
||||
@@ -901,6 +901,8 @@
|
||||
;key_id = some-key-id
|
||||
;role_attribute_path =
|
||||
;role_attribute_strict = false
|
||||
;org_attribute_path =
|
||||
;org_mapping =
|
||||
;groups_attribute_path =
|
||||
;auto_sign_up = false
|
||||
;url_login = false
|
||||
@@ -1525,7 +1527,7 @@ timeout = 30s
|
||||
|
||||
# Default data source UID to write to if not specified in the rule definition.
|
||||
# Only has effect if the grafanaManagedRecordRulesDatasources feature toggle is enabled.
|
||||
default_datasource_uid =
|
||||
default_datasource_uid =
|
||||
|
||||
# Optional custom headers to include in recording rule write requests.
|
||||
[recording_rules.custom_headers]
|
||||
|
||||
Reference in New Issue
Block a user