I found an older thread at https://groups.google.com/forum/#!topic/istio-users/zKyWBkhlJps that mentioned the idea of routing requests based on attributes in a JWT (indepent from using JWTs for authorization/authentication). Is this work planned or in progress anywhere? My use case involves different types of clients declaring their types in JWTs that I issue to them, and then routing client traffic differently based on their type.
If I wanted to do this today, it looks like I would need to route requests to my own proxy that parsed the JWT and added fields to headers that I could then route based on.