API Authorization

Hi All,

I have a base path defined for my API - for example /v1/entity. I have to authorize my consumers based on the node “entity”. Is it possible to authorize API consumer with /*/entity? The consumer need not worry about the version number.

The idea here is we have to avoid authorizing API consumers each time we have a new version of the API. For example, I have /v2/entity, /v3/entity, and so on. So I have to keep the authorized consumers having access to the API regardless of the version number.

It is possible. You can use in proxy end point and check the conditions as (proxy.pathsuffix MatchesPath “/*/entity”) . This will suffice your requirement.