grafana/pkg/setting
Jo 5340a6e548
Auth: Extended JWT client for OBO and Service Authentication (#83814)
* reenable ext-jwt-client

* fixup settings struct

* add user and service auth

* lint up

* add user auth to grafana ext

* fixes

* Populate token permissions

Co-authored-by: jguer <joao.guerreiro@grafana.com>

* fix tests

* fix lint

* small prealloc

* small prealloc

* use special namespace for access policies

* fix access policy auth

* fix tests

* fix uncalled settings expander

* add feature toggle

* small feedback fixes

* rename entitlements to permissions

* add authlibn

* allow viewing the signed in user info for non user namespace

* fix invalid namespacedID

* use authlib as verifier for tokens

* Update pkg/services/authn/clients/ext_jwt.go

Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>

* Update pkg/services/authn/clients/ext_jwt_test.go

Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>

* fix parameter names

* change asserts to normal package

* add rule for assert

* fix ownerships

* Local diff

* test and lint

* Fix test

* Fix ac test

* Fix pluginproxy test

* Revert testdata changes

* Force revert on test data

---------

Co-authored-by: gamab <gabriel.mabille@grafana.com>
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
2024-04-02 17:45:15 +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 Chore: Fix goimports grouping in other backend platform packages (#62422) 2023-01-30 08:26:42 +00:00
date_formats.go Prometheus: Support 1ms resolution intervals (#44707) 2022-06-29 07:39:50 +02:00
dynamic_settings_test.go Tests: use t.Setenv to set env vars (#69516) 2023-06-05 11:31:03 +02:00
expanders_test.go Tests: use t.Setenv to set env vars (#69516) 2023-06-05 11:31:03 +02:00
expanders.go imagestorage: fix templating of public_url option for webdav (#74885) 2023-09-28 00:35:10 +03:00
provider.go samlsettings: api integration (#84300) 2024-03-25 10:54:45 +01:00
setting_auth_proxy.go AuthProxy: Allow disabling Auth Proxy cache (#83755) 2024-03-01 11:31:06 +01:00
setting_azure_test.go AzureMonitor: User authentication support (#81918) 2024-03-19 16:32:24 +00:00
setting_azure.go AzureMonitor: User authentication support (#81918) 2024-03-19 16:32:24 +00:00
setting_cloud_migration.go Cloud migrations: create endpoint to create an access token (#84690) 2024-03-25 12:43:28 -03:00
setting_data_proxy.go Docs: Aligning fallback values with documentation (#83617) 2024-03-13 11:19:04 +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 Settings: Actually deprecate access to feature flags (#78073) 2023-11-13 11:39:01 -08:00
setting_featuremgmt.go Feature Toggles API: Trigger webhook call when updating (#75254) 2023-09-25 19:11:24 +01:00
setting_grafana_javascript_agent.go Unify frontend monitoring (#80075) 2024-02-01 15:08:40 +01:00
setting_jwt.go Auth: Extended JWT client for OBO and Service Authentication (#83814) 2024-04-02 17:45:15 +02:00
setting_plugins_test.go Plugins: Add forward_host_env_vars setting (#79333) 2023-12-13 11:25:17 +02:00
setting_plugins.go Plugins: Add forward_host_env_vars setting (#79333) 2023-12-13 11:25:17 +02:00
setting_quota.go Alerting: Guided legacy alerting upgrade dry-run (#80071) 2024-01-05 18:19:12 -05:00
setting_search.go Search: Add search index configuration options (#55525) 2022-09-20 19:09:55 -04:00
setting_secure_socks_proxy_test.go Plugins: Pass PDC file contents in requests (#84783) 2024-03-22 13:52:24 +01:00
setting_secure_socks_proxy.go Plugins: Pass PDC file contents in requests (#84783) 2024-03-22 13:52:24 +01:00
setting_session_test.go Chore: Fix goimports grouping in other backend platform packages (#62422) 2023-01-30 08:26:42 +00:00
setting_smtp_test.go Config: Can add static headers to email messages (#79365) 2023-12-14 12:59:43 -06:00
setting_smtp.go Chore: Remove public vars in setting package (#81018) 2024-01-23 12:36:22 +01:00
setting_storage.go Storage: externalize allow_unsanitized_svg_upload (#52703) 2022-07-25 21:11:17 +04:00
setting_test.go Alerting: Disable legacy alerting for ever (#83651) 2024-03-07 16:01:11 -05:00
setting_unified_alerting_test.go Alerting: Disable legacy alerting for ever (#83651) 2024-03-07 16:01:11 -05:00
setting_unified_alerting.go Alerting: Clamp Loki ASH range query to configured max_query_length (#83986) 2024-03-15 18:59:45 +02:00
setting.go Auth: Extended JWT client for OBO and Service Authentication (#83814) 2024-04-02 17:45:15 +02:00