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.

0 1 122
1 REPLY 1

Not applicable

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