{ "name": "envoy.filters.http.jwt_authn", "typedConfig": { "@type": "type.googleapis.com/envoy.extensions.filters.http.jwt_authn.v3.JwtAuthentication", "providers": { "auth0": { "issuer": "another-issuer", "payloadInMetadata": "jwt_payload_auth0", "remoteJwks": { "asyncFetch": { "fastListener": true }, "httpUri": { "cluster": "jwks_cluster_auth0", "timeout": "1s", "uri": "https://example-auth0.com/.well-known/jwks.json" } } }, "okta": { "issuer": "test-issuer", "payloadInMetadata": "jwt_payload_okta", "remoteJwks": { "asyncFetch": { "fastListener": true }, "httpUri": { "cluster": "jwks_cluster_okta", "timeout": "1s", "uri": "https://example-okta.com/.well-known/jwks.json" } } } }, "rules": [ { "match": { "prefix": "/" }, "requires": { "requiresAll": { "requirements": [ { "requiresAny": { "requirements": [ { "providerName": "okta" }, { "allowMissingOrFailed": {} } ] } }, { "requiresAny": { "requirements": [ { "providerName": "auth0" }, { "allowMissingOrFailed": {} } ] } } ] } } } ] } }