Routing - dynamic URI rewrite based on user identity


Docs - Route based on user identity describes routing based on user identity.

However, I was wondering whether it is possible to re-use the user identity when rewriting the URI.


  • Backend service waits for requests on /resource/$user-id
  • Frontend calls service on /resource and appends the user-id in an HTTP header
  • Istio routes frontend call on /resource to /resource/$user-id-from-http-header
1 Like