|
|
|
|
@ -23,6 +23,10 @@ This method of authentication is useful for integrating with other systems that |
|
|
|
|
use JWKS but can't directly integrate with Grafana or if you want to use pass-through |
|
|
|
|
authentication in an app embedding Grafana. |
|
|
|
|
|
|
|
|
|
{{% admonition type="note" %}} |
|
|
|
|
Grafana does not currently support refresh tokens. |
|
|
|
|
{{% /admonition %}} |
|
|
|
|
|
|
|
|
|
## Enable JWT |
|
|
|
|
|
|
|
|
|
To use JWT authentication: |
|
|
|
|
@ -183,7 +187,8 @@ key_id = my-key-id |
|
|
|
|
|
|
|
|
|
By default, only `"exp"`, `"nbf"` and `"iat"` claims are validated. |
|
|
|
|
|
|
|
|
|
You might also want to validate that other claims are really what you expect them to be. |
|
|
|
|
Consider validating that other claims match your expectations by using the `expect_claims` configuration option. |
|
|
|
|
Token claims must match exactly the values set here. |
|
|
|
|
|
|
|
|
|
```ini |
|
|
|
|
# This can be seen as a required "subset" of a JWT Claims Set. |
|
|
|
|
|