Added the apiproxy to APIProduct mentioning path as well in the operations. But when triggerring the call im getting the below error.
curl https://sample.com/jwttoken -H “Authorization: [Token]”
{“fault”:{“faultstring”:“Invalid API call as no apiproduct match found”,“detail”:{“errorcode”:“keymanagement.service.InvalidAPICallAsNoApiProductMatchFound”}}}
Could someone please help here. OAuth API is attached to a different API Product. And JWT API is attached to different APIProduct.
Both the products are attached to a common App.
Can you share more details? For example show the policy that is generating that error? And explain how you generated the token? Can you explain the API Product setup in more detail?
And can you explain what this means?
OAuth API is attached to a different API Product. And JWT API is attached to different APIProduct.
The way the OAuthV2/VerifyAccessToken policy works,
- the token must be issued for an app, which itself is authorized for a Product, which must contain the appropriate configuration for proxies, paths and verbs, etc.
- the token must not be expired
- You must pass the token in the Authorization header with a Bearer prefix. The word “Bearer” is required and is case sensitive.
So maybe you can explain in more detail EXACTLY what you’re trying.