当前位置: 动力学知识库 > 问答 > 编程问答 >

wso2 - Redundant authorization action in API Store for API restricted by role

问题描述:

I'm using SWO2 API Manager 1.4.0. When user logs in to API Store and opens API with visibility "Restricted By Roles", it asks user's credentials again.

It happens when Swagger loads api-doc.json from

/registry/resource/_system/governance/apimgt/applicationdata/api-docs/ApiName-Version/api-doc.json

and receives code 401 in answer.

The question is: how should I configure API Manager to make it use user's credentials for any calls to Governance Registry?

网友答案:

We give anonymous permissions for the swagger json resource when creating the API. So I am not sure how this issue is appearing to you. Can you please check what is the permission assigned for the api-doc.json? This can be checked by accessing the resource through registry browser in management console and expanding the Permissions.

分享给朋友:
您可能感兴趣的文章:
随机阅读: