Routing - dynamic URI rewrite based on user identity

#1

Hi,

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.

Scenario:

  • 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
2 Likes