Custom Resource Path support in edge microgateway

Need to restrict the API calls for edge aware proxy. Do we support custom resource path for edge aware proxy?

Created edge aware proxy with OAuthV2 secure.

Created Product and added the edge-aware proxy and edgemicro-auth.

In the Paths added Resource Path as /patron/*/pin/validate to allow only one API call.

Using the below command for generating the token:

C:\Users\105187>edgemicro token get -o cmpps -e dev -i M556G9yafuODJpGD5LkvOljEiKf67pmx -s RGxbRSlSLSzN1TO0

2020-10-06T13:27:09.827Z [6516] [microgateway token] { "fault": { "faultstring": "Invalid ApiKey for given resource", "detail": { "errorcode": "oauth.v2.InvalidApiKeyForGivenResource" } } }

But when I give / or /** in the resource path , we are able to generate the token .

Please share your thoughts on this.

0 0 91
0 REPLIES 0