Skip to content

Commit 22ef946

Browse files
committed
Switch to urn:ietf:params:oauth:client-assertion-type:jwt-spiffe
Signed-off-by: stianst <stianst@gmail.com>
1 parent 44b3095 commit 22ef946

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

demos/spiffe/client-credential-grant.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ SPIFFE_JWT_SVID=$(./fetch-jwt-svid.sh)
44

55
curl -s -X POST \
66
-d grant_type=client_credentials \
7-
-d client_assertion_type=urn:ietf:params:oauth:client-assertion-type:jwt-bearer \
7+
-d client_assertion_type=urn:ietf:params:oauth:client-assertion-type:jwt-spiffe \
88
-d client-assertion-type=jwt-bearer \
99
-d client_assertion="$SPIFFE_JWT_SVID" \
1010
http://localhost:8080/realms/spiffe/protocol/openid-connect/token

demos/spiffe/token-introspection.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ACCESS_TOKEN=$(./client-credential-grant.sh | jq -r .access_token)
55

66
curl -s -X POST \
77
-d token=$ACCESS_TOKEN \
8-
-d client_assertion_type=urn:ietf:params:oauth:client-assertion-type:jwt-bearer \
8+
-d client_assertion_type=urn:ietf:params:oauth:client-assertion-type:jwt-spiffe \
99
-d client-assertion-type=jwt-bearer \
1010
-d client_assertion="$SPIFFE_JWT_SVID" \
1111
http://localhost:8080/realms/spiffe/protocol/openid-connect/token/introspect | jq

0 commit comments

Comments
 (0)