grafana/pkg/services/authn
Claudiu Dragalina-Paraipan a8b07b0c81
[authn] use authlib client+interceptors for in-proc mode (#93124)
* Add authlib gRPC authenticators for in-proc mode

* implement `StaticRequester` signing in the unified resource client
- [x] when the `claims.AuthInfo` value type is `identity.StaticRequester`, and there's no ID token set, create an internal token and sign it with symmetrical key. This is a workaround for `go-jose` not offering the possibility to create an unsigned token.
- [x] update `IDClaimsWrapper` to support the scenario above
- [x] Switch to using `claims.From()` in `dashboardSqlAccess.SaveDashboard()`

---------

Co-authored-by: gamab <gabriel.mabille@grafana.com>
2024-09-24 09:03:48 +03:00
..
authnimpl AuthN: Ext JWT support actions (#92486) 2024-09-19 14:25:43 +02:00
authntest Identity: Remove typed id (#91801) 2024-08-13 10:18:28 +02:00
clients Cfg: Deduplicate DefaultOrgID code (#93588) 2024-09-23 16:50:11 +02:00
grpcutils [authn] use authlib client+interceptors for in-proc mode (#93124) 2024-09-24 09:03:48 +03:00
authn.go AuthN: Ext JWT support actions (#92486) 2024-09-19 14:25:43 +02:00
error.go Chore: Move identity and errutil to apimachinery module (#89116) 2024-06-13 07:11:35 +03:00
identity.go Authn: resolve issues with setting up a nil identity (#92620) 2024-08-29 00:49:41 +03:00