mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 11:08:10 +00:00
Fix JWT end-to-end test (#6244)
This commit is contained in:
committed by
Brian Kassouf
parent
c96ad1b30a
commit
9ea53eb438
@@ -62,6 +62,7 @@ func testJWTEndToEnd(t *testing.T, ahWrapping bool) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
_, err = client.Logical().Write("auth/jwt/role/test", map[string]interface{}{
|
_, err = client.Logical().Write("auth/jwt/role/test", map[string]interface{}{
|
||||||
|
"role_type": "jwt",
|
||||||
"bound_subject": "r3qXcK2bix9eFECzsU3Sbmh0K16fatW6@clients",
|
"bound_subject": "r3qXcK2bix9eFECzsU3Sbmh0K16fatW6@clients",
|
||||||
"bound_audiences": "https://vault.plugin.auth.jwt.test",
|
"bound_audiences": "https://vault.plugin.auth.jwt.test",
|
||||||
"user_claim": "https://vault/user",
|
"user_claim": "https://vault/user",
|
||||||
|
|||||||
Reference in New Issue
Block a user