grafana/pkg/services/auth
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
..
authimpl Chore: Remove unused function TryRotateToken (#85836) 2024-04-10 11:15:43 +02:00
authtest Chore: Move identity and errutil to apimachinery module (#89116) 2024-06-13 07:11:35 +03:00
gcomsso Chore: Move identity and errutil to apimachinery module (#89116) 2024-06-13 07:11:35 +03:00
idimpl K8s: Use stacks plural not singular in grafana namespaces (#92550) 2024-08-29 14:15:00 +03:00
idtest [authn] use authlib client+interceptors for in-proc mode (#93124) 2024-09-24 09:03:48 +03:00
jwt JWT: Find login and email claims with JMESPATH (#85305) 2024-03-28 17:25:26 +01:00
auth.go Chore: Remove unused function TryRotateToken (#85836) 2024-04-10 11:15:43 +02:00
id.go [authn]: add GetIDClaims() to Requester (#91387) 2024-08-02 12:36:02 +03:00