mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Update JWT docs (#96623)
This commit is contained in:
parent
8789e23fe2
commit
d9395f2682
@ -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
|
use JWKS but can't directly integrate with Grafana or if you want to use pass-through
|
||||||
authentication in an app embedding Grafana.
|
authentication in an app embedding Grafana.
|
||||||
|
|
||||||
|
{{% admonition type="note" %}}
|
||||||
|
Grafana does not currently support refresh tokens.
|
||||||
|
{{% /admonition %}}
|
||||||
|
|
||||||
## Enable JWT
|
## Enable JWT
|
||||||
|
|
||||||
To use JWT authentication:
|
To use JWT authentication:
|
||||||
@ -183,7 +187,8 @@ key_id = my-key-id
|
|||||||
|
|
||||||
By default, only `"exp"`, `"nbf"` and `"iat"` claims are validated.
|
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
|
```ini
|
||||||
# This can be seen as a required "subset" of a JWT Claims Set.
|
# This can be seen as a required "subset" of a JWT Claims Set.
|
||||||
|
Loading…
Reference in New Issue
Block a user