Routes With Claims on Path

Hi,

I’m trying to understand if I need to do some plugin or not.
Our system requires JWT token in all public requests, and on the claims, we have values identifying the multi-tenancy, like tenant and client and with that we don´t need this values on the public url paths. But internally we have this values on the URL Path. It´s possible by someway do this on the route object without plugins?

Sample:

Inbound: External Endpoint
https://public-domain.com/v1/platform-name/resourceX

Outbound Internal Endpoint

https://internal.domain.com/v1/{claimA}/{claimB}/ResourceX

No answers! I´ve made a plugin.

Thanks