From fddc43fcd33dd7bf24382dff70cf19503f6da21a Mon Sep 17 00:00:00 2001 From: Richard Dennehy Date: Tue, 15 Apr 2025 13:07:42 +0100 Subject: [PATCH 1/2] update JWT realm docs to include at+jwt support --- docs/reference/security/authentication/jwt-realm.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/security/authentication/jwt-realm.asciidoc b/docs/reference/security/authentication/jwt-realm.asciidoc index 4c9198956d21b..ea912cee22563 100644 --- a/docs/reference/security/authentication/jwt-realm.asciidoc +++ b/docs/reference/security/authentication/jwt-realm.asciidoc @@ -294,7 +294,7 @@ token. as `HS256`. The algorithm must be in the realm's allow list. `typ`:: -(Optional, String) Indicates the token type, which must be `JWT`. +(Optional, String) Indicates the token type. For an ID token, this must be `JWT`; for access tokens, this must be `JWT` or `at+jwt`. [[jwt-validation-payload]] ===== Payload claims From d98662ab7be9b4bdc8cae3aca5be8c662af5592b Mon Sep 17 00:00:00 2001 From: Richard Dennehy Date: Wed, 16 Apr 2025 09:56:43 +0100 Subject: [PATCH 2/2] adjust formatting to match v9 docs --- .../security/authentication/jwt-realm.asciidoc | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/reference/security/authentication/jwt-realm.asciidoc b/docs/reference/security/authentication/jwt-realm.asciidoc index ea912cee22563..164faa2345db5 100644 --- a/docs/reference/security/authentication/jwt-realm.asciidoc +++ b/docs/reference/security/authentication/jwt-realm.asciidoc @@ -294,7 +294,17 @@ token. as `HS256`. The algorithm must be in the realm's allow list. `typ`:: -(Optional, String) Indicates the token type. For an ID token, this must be `JWT`; for access tokens, this must be `JWT` or `at+jwt`. +(Optional, String) Indicates the token type. ++ +For an ID token, this must be ++ + - `JWT` + ++ +For access tokens, this must be one of ++ + - `JWT` + - `at+jwt` [[jwt-validation-payload]] ===== Payload claims