Skip to content

Commit a126db1

Browse files
committed
wip
1 parent 7f9a6d3 commit a126db1

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

demos/spiffe-oidc/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,12 @@ Then create a new client within the realm:
7979
```bash
8080
./kcadm.sh create clients -r spiffe -f - << EOF
8181
{
82-
"clientId": "spiffe://example.org/myclient",
82+
"clientId": "myclient",
8383
"serviceAccountsEnabled": true,
8484
"clientAuthenticatorType": "federated-jwt",
8585
"attributes": {
86-
"jwt.credential.issuer": "spiffe"
86+
"jwt.credential.issuer": "spiffe",
87+
"jwt.credential.sub": "spiffe://example.org/myclient",
8788
}
8889
}
8990
EOF

demos/spiffe/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Optionally create a new realm:
5151
"providerId": "spiffe",
5252
"hideOnLogin": true,
5353
"config": {
54-
"trustDomain": "example.org",
54+
"issuer": "spiffe://example.org",
5555
"bundleEndpoint": "https://localhost:8543"
5656
}
5757
}
@@ -62,11 +62,12 @@ Then create a new client within the realm:
6262
```bash
6363
./kcadm.sh create clients -r spiffe -f - << EOF
6464
{
65-
"clientId": "spiffe://example.org/myclient",
65+
"clientId": "myclient",
6666
"serviceAccountsEnabled": true,
6767
"clientAuthenticatorType": "federated-jwt",
6868
"attributes": {
6969
"jwt.credential.issuer": "spiffe"
70+
"jwt.credential.sub": "spiffe://example.org/myclient"
7071
}
7172
}
7273
EOF

0 commit comments

Comments
 (0)