grafana/pkg/setting
Jo c2d3c90bc8
Auth: Implement Token URL JWT Auth (#52662)
* Auth: check of auth_token in url and resolve user if present

* check if auth_token is passed in url

* Auth: Pass auth_token for request if present in path

* no need to decode token in index

* temp

* use loadURLToken and set authorization header

* cache token in memory and strip it from url

* Use loadURLToken

* Keep token in url

* strip sensitive query strings from url used by context logger

* adapt login by url to jwt token

* add jwt iframe devenv

* add jwt iframe devenv instructions

* add access note

* add test for cleaning request

* ensure jwt token is not carried into handlers

* do not reshuffle queries, might be important

* add correct db dump location

* prefer set token instead of cached token

Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>

Co-authored-by: Karl Persson <kalle.persson@grafana.com>
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
2022-07-27 16:10:47 +02:00
..
testdata Config: Show user-friendly error message instead of stack trace (#16564) 2019-04-25 08:29:07 +02:00
date_formats_test.go setting: Fix tests on Mac (#28886) 2020-11-09 14:39:56 +01:00
date_formats.go Prometheus: Support 1ms resolution intervals (#44707) 2022-06-29 07:39:50 +02:00
dynamic_settings_test.go Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00
expanders_test.go Chore: Disable default golangci-lint filter (#29751) 2020-12-15 09:32:06 +01:00
expanders.go SAML: Implement Name Templates for assertion_attribute_name option (#48022) 2022-04-27 16:29:15 -04:00
provider.go FeatureToggls: remove IsFeatureToggleEnabled from SettingsProvider (#44574) 2022-02-01 10:24:59 -08:00
setting_azure_test.go Migrate to Grafana Azure SDK (#47232) 2022-04-04 11:23:13 +02:00
setting_azure.go Migrate to Grafana Azure SDK (#47232) 2022-04-04 11:23:13 +02:00
setting_dashboard_previews.go Previews: refactor (#47728) 2022-04-25 01:55:10 +04:00
setting_data_proxy.go Datasource: Remove deprecated max_idle_connections_per_host setting (#49948) 2022-05-31 18:19:12 +02:00
setting_feature_toggles_test.go FeatureFlags: define features outside settings.Cfg (take 3) (#44443) 2022-01-26 09:44:20 -08:00
setting_feature_toggles.go FeatureFlags: define features outside settings.Cfg (take 3) (#44443) 2022-01-26 09:44:20 -08:00
setting_grafana_javascript_agent.go Frontend Logging: Integrate grafana javascript agent (#50801) 2022-06-28 03:25:30 -04:00
setting_plugins_test.go Backend Plugins: Plugin configuration using Grafana config (#23451) 2020-04-14 18:04:27 +02:00
setting_plugins.go PluginsCatalog: Add backend support for hiding plugins in plugins catalog (#41563) 2021-11-15 10:53:35 +01:00
setting_quota.go Storage: limit the number of uploaded files (#50796) 2022-07-18 15:24:39 +04:00
setting_sentry.go Frontend Logging: Integrate grafana javascript agent (#50801) 2022-06-28 03:25:30 -04:00
setting_session_test.go Logging: Unify logging fakes (#48822) 2022-05-06 17:44:22 +02:00
setting_smtp.go Email: Allow configuration of content types for email notifications (#34530) 2021-07-19 13:31:51 +03:00
setting_storage.go Storage: externalize allow_unsanitized_svg_upload (#52703) 2022-07-25 21:11:17 +04:00
setting_test.go Alerting: Invalid setting of enabled for unified alerting should return error (#49876) 2022-06-10 08:59:58 +01:00
setting_unified_alerting_test.go Alerting: Rename setting AlertForDuration to DefaultRuleEvaluationInterval (#45569) 2022-02-18 10:05:06 -05:00
setting_unified_alerting.go Alerting: Add config disabled_labels to disable reserved labels (#51832) 2022-07-11 12:41:40 -04:00
setting.go Auth: Implement Token URL JWT Auth (#52662) 2022-07-27 16:10:47 +02:00