Inject username in the endpoint URL

Hi all,

I’d like to use Tyk as the authentication and authorization component, and in order to identify a user in the endpoint, I need to inject it in the URL.

I.e. for a user ‘[email protected]’ with an Alias ‘fooUser’, authenticated in Tyk in some way (Basic, OAuth 2.0…), I need to transform the request


Any help on this?


Hi, would reading the user name from a header work for you?

I guess, but that would mean sending the username back and forth all the time.

Is there any other way?