Skip to content

Commit 7d9577a

Browse files
adjust formatting to match v9 docs
1 parent fddc43f commit 7d9577a

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

docs/reference/security/authentication/jwt-realm.asciidoc

+11-1
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,17 @@ token.
294294
as `HS256`. The algorithm must be in the realm's allow list.
295295

296296
`typ`::
297-
(Optional, String) Indicates the token type. For an ID token, this must be `JWT`; for access tokens, this must be `JWT` or `at+jwt`.
297+
(Optional, String) Indicates the token type.
298+
+
299+
For an ID token, this must be
300+
+
301+
- `JWT`
302+
303+
+
304+
For access tokens, this must be one of
305+
+
306+
- `JWT`
307+
- `at+jwt`
298308

299309
[[jwt-validation-payload]]
300310
===== Payload claims

x-pack/test/idp-fixture/build.gradle

+2
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,6 @@ dependencies {
1919
testImplementation project(':test:framework')
2020
api project(':test:fixtures:testcontainer-utils')
2121
api "junit:junit:${versions.junit}"
22+
23+
runtimeOnly "net.java.dev.jna:jna:${versions.jna}"
2224
}

x-pack/test/idp-fixture/src/main/resources/oidc/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
FROM c2id/c2id-server-demo:12.18 AS c2id
2-
FROM openjdk:11.0.16-jre
2+
FROM openjdk:17-jdk-buster
33

44
# Using this to launch a fake server on container start; see `setup.sh`
55
RUN apt-get update -qqy && apt-get install -qqy python3

0 commit comments

Comments
 (0)