grafana/pkg/services/authn/authnimpl
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
..
sync Auth: Extended JWT client for OBO and Service Authentication (#83814) 2024-04-02 17:45:15 +02:00
metrics.go AuthN: add metrics for login and authentication (#63783) 2023-03-06 17:07:57 +01:00
priority_queue_test.go Chore: Fix goimports grouping (#62426) 2023-01-30 09:34:18 +01:00
priority_queue.go AuthN: Rebuild Authenticate so we only have to call it once in context handler (#61705) 2023-01-26 10:50:44 +01:00
service_test.go Authn: Handle logout logic in auth broker (#79635) 2023-12-19 10:17:28 +01:00
service.go Auth: Extended JWT client for OBO and Service Authentication (#83814) 2024-04-02 17:45:15 +02:00
usage_stats_test.go AuthProxy: Allow disabling Auth Proxy cache (#83755) 2024-03-01 11:31:06 +01:00
usage_stats.go AuthProxy: Allow disabling Auth Proxy cache (#83755) 2024-03-01 11:31:06 +01:00