Reword JWT config claim (#69356)

Co-authored-by: ptz-xyt <104002657+ptz-xyt@users.noreply.github.com>
This commit is contained in:
linoman
2023-06-01 11:15:27 +02:00
committed by GitHub
parent 96d8b0c659
commit 676e5de3d2

View File

@ -36,7 +36,7 @@ header_name = X-JWT-Assertion
## Configure login claim
To identify the user, some of the claims needs to be selected as a login info. You could specify a claim that contains either a username or an email of the Grafana user.
To identify the user, some of the claims needs to be selected as a login info. The subject claim called `"sub"` is mandatory and needs to identify the principal that is the subject of the JWT.
Typically, the subject claim called `"sub"` would be used as a login but it might also be set to some application specific claim.