IDToken: Add current user's Username and UID to the ID token (#90240)

* Set claims.Rest.Login from the IDService

* Add UID to the ID token
This commit is contained in:
Misi
2024-07-11 14:25:30 +02:00
committed by GitHub
parent b75276c641
commit 69c5fa8361
5 changed files with 23 additions and 4 deletions

2
go.mod
View File

@@ -79,7 +79,7 @@ require (
github.com/gorilla/mux v1.8.1 // @grafana/grafana-backend-group
github.com/gorilla/websocket v1.5.0 // @grafana/grafana-app-platform-squad
github.com/grafana/alerting v0.0.0-20240607182251-835aff588914 // @grafana/alerting-backend
github.com/grafana/authlib v0.0.0-20240611075137-331cbe4e840f // @grafana/identity-access-team
github.com/grafana/authlib v0.0.0-20240711083030-f139ff397f7b // @grafana/identity-access-team
github.com/grafana/codejen v0.0.3 // @grafana/dataviz-squad
github.com/grafana/cuetsy v0.1.11 // @grafana/grafana-as-code
github.com/grafana/dataplane/examples v0.0.1 // @grafana/observability-metrics