grafana/pkg/api/pluginproxy
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
..
test-data dsproxy: allow multiple access tokens per datasource 2018-06-12 17:39:38 +02:00
ds_auth_provider_test.go Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
ds_auth_provider.go Plugins Proxy: Allow using {{ .URL }} inside "routes" section in plugin.json (#80858) 2024-02-02 09:23:07 +01:00
ds_proxy_test.go Auth: Extended JWT client for OBO and Service Authentication (#83814) 2024-04-02 17:45:15 +02:00
ds_proxy.go DataQuery: Track panel plugin id not type (#83091) 2024-02-21 09:38:42 +01:00
pluginproxy_test.go Auth: Extended JWT client for OBO and Service Authentication (#83814) 2024-04-02 17:45:15 +02:00
pluginproxy.go Plugins Proxy: Allow using {{ .URL }} inside "routes" section in plugin.json (#80858) 2024-02-02 09:23:07 +01:00
token_provider_azure.go Chore: Update grafana-azure-sdk-go (#84741) 2024-03-19 14:56:40 +00:00
token_provider_gce.go Plugins: Refactor Plugin Management (#40477) 2021-11-01 10:53:33 +01:00
token_provider_generic.go Plugins: Refactor Plugin Management (#40477) 2021-11-01 10:53:33 +01:00
token_provider_jwt.go Plugins: Refactor Plugin Management (#40477) 2021-11-01 10:53:33 +01:00
token_provider_test.go Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
token_provider.go AzureMonitor: Use auth middleware for QueryData requests (#35343) 2021-06-11 17:02:24 +02:00
utils_test.go API: Rewrite tests from goconvey (#29091) 2020-11-17 11:31:35 +01:00
utils.go Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00