Using tyk-community version here (Tyk-Gateway)
I would like to specify wildcard in the
SESSION_ENDPOINTS , how do I do that? Tyk gateway seems to be looking for the exact match here.
SESSION_ENDPOINTS are not API endpoints, they are three HTML pages.
Basically I would like to replace
i dont think tyk-gateway is picking up the wildcard here.
Looks like you want the array values be treated as regex. Unfortunately, that’s currently not possible, but our code is available if you’d like to take a stab at it.
That sounds good… but I’m actually unable to find ‘SESSION_ENDPOINTS’ when i try to search for this variable in the codebase do you mind pointing out where i should get started? thanks
SESSION_ENDPOINTS is custom and not part of Tyk Gateway. Where did you get the session endpoints code from?
Hi agiain, my apologies, but I just found out that this config is set up in a custom middleware files in an inherited codebase that I forgot to check It’s all good now! I will update the relevant middleware