mirror of https://github.com/hashicorp/consul
37 lines
869 B
Plaintext
37 lines
869 B
Plaintext
{
|
|
"name": "envoy.filters.http.jwt_authn",
|
|
"typedConfig": {
|
|
"@type": "type.googleapis.com/envoy.extensions.filters.http.jwt_authn.v3.JwtAuthentication",
|
|
"providers": {
|
|
"okta": {
|
|
"issuer": "test-issuer",
|
|
"payloadInMetadata": "jwt_payload_okta",
|
|
"remoteJwks": {
|
|
"httpUri": {
|
|
"uri": "https://example-okta.com/.well-known/jwks.json",
|
|
"cluster": "jwks_cluster_okta",
|
|
"timeout": "1s"
|
|
},
|
|
"asyncFetch": {
|
|
"fastListener": true
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"rules": [
|
|
{
|
|
"match": {
|
|
"prefix": "/"
|
|
},
|
|
"requires": {
|
|
"requiresAny": {
|
|
"requirements": [
|
|
{"providerName": "okta"},
|
|
{"allowMissingOrFailed": {}}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
} |