grafana/pkg/util
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
..
cmd
cmputil
errutil QueryService: Return application/json and better errors (#84234) 2024-03-19 15:52:15 +02:00
osutil Settings: Fix data race when dynamically overriding settings with environment variables (#81667) 2024-02-05 12:25:54 -03:00
proxyutil Auth: Extended JWT client for OBO and Service Authentication (#83814) 2024-04-02 17:45:15 +02:00
retryer
ticker
xorm Chore: Sync go workspace (#84932) 2024-03-21 18:34:40 +02:00
contextutil_test.go
contextutil.go
encoding_test.go
encoding.go
encryption_test.go
encryption.go
filepath_test.go
filepath.go Plugins: Always load decoupled frontend assets from builds (#81873) 2024-03-13 12:40:09 +01:00
ip_address_test.go
ip_address.go
json_test.go JWT Authentication: Add support for specifying groups in auth.jwt for teamsync (#82175) 2024-02-09 16:35:58 +01:00
json.go JWT Authentication: Add support for specifying groups in auth.jwt for teamsync (#82175) 2024-02-09 16:35:58 +01:00
md5_test.go
md5.go
pointer.go
reverse_test.go
reverse.go
shortid_generator_test.go Chore: Generate shorter UIDs (#79843) 2024-01-24 11:27:46 -08:00
shortid_generator.go Chore: Generate shorter UIDs (#79843) 2024-01-24 11:27:46 -08:00
split_email_test.go
split_email.go
strings_test.go
strings.go
svg.go
tls_test.go
tls.go
url_test.go
url.go
validation_test.go
validation.go