Using Custom attributes in proxies on the edge micro

If we define custom attributes at the Product/Developer APP level then can we use them within proxy.

I am sure we can in Edge but it seems to be not working on EdgeMicro though.

0 3 223
3 REPLIES 3

Out of box Microgateway only acts on attributes related to basic routing and security. Two things would need to happen together for it to do more:

1. Update edgemicro-auth proxy so that for apiKey or JWT token, custom attributes are there.

2. Modify oauth plugin to act on those attributes.

doesnt sound like a bad idea.

Thanks for the response. I was out of town and couldn't able to respond.

I built proxy around 2 years ago where i was able to read the App Custom Attributes (/App/Attributes/Attribute[Name='uuid']/Value/text()) within my proxy and set as header variables before calling the backend api.

It works just fine on Edge but the same is not working edge micro.

Good idea on doing in edgemicro-auth, Let me see if i can make that work.

Thank you.