IDForwarding: add "authenticatedBy" to id token (#80622)

* IDForwading: Set authenticated by for users
This commit is contained in:
Karl Persson
2024-01-17 09:52:05 +01:00
committed by GitHub
parent 0d1462cbbb
commit 43b6b6b2a4
5 changed files with 124 additions and 17 deletions
+1
View File
@@ -20,6 +20,7 @@ type IDSigner interface {
type IDClaims struct {
jwt.Claims
AuthenticatedBy string `json:"authenticatedBy,omitempty"`
}
const settingsKey = "forwardGrafanaIdToken"