grafana/pkg/services/authn
Misi 43be4f095a
Auth: Add alpha version of the Extended JWT client (#67999)
* initial commit

* Add tests, add configuration options

* Extend signingkeys.Service with GetServerPublicKey method

* Add, cleanup tests

* Add tests for entitlements claim

* Fix linting errors

* Suggestion to use a struct to extend the claims

(cherry picked from commit 8078b99f1d57c9426a15693d850c1ca5f0432cbe)

* Add requested changes

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

* Add test for orgID check

* Cleanup

---------

Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
2023-05-11 15:12:53 +02:00
..
authnimpl Auth: Add alpha version of the Extended JWT client (#67999) 2023-05-11 15:12:53 +02:00
authntest AuthN: Add functions for fake (#65522) 2023-03-29 15:40:09 +02:00
clients Auth: Add alpha version of the Extended JWT client (#67999) 2023-05-11 15:12:53 +02:00
authn.go Auth: Add alpha version of the Extended JWT client (#67999) 2023-05-11 15:12:53 +02:00
error.go Auth: Add feature flag to move token rotation to client (#65060) 2023-03-23 14:39:04 +01:00