I am new to WSO2 and I am tring to make a setup for a POC.
I have a single API that is used by multiple tenants. But for every tenant it must connect to a different endpoint like this https://server:port/api/{tenant}/x/. I am wondering what the best approach is.
I can create a different API for each tenant and configure the endpoints in this version of the API, but I think this will eventually create a lot of overhead if I try to maintain this.
The other approach I tried is by creating a dynamic endpoint and use message mediation. But I can not find how I can base the endpoint on the users domain.
I hope to hear what the best option is to get a manageable situation.
Thanks in advance!