问题
I am managing my APIs using WSO2 API Mananger.Till now every API were private and can be accessed using an access token. The new use cases some API's which is purely public. Any one can access them anonymously. Just a GET,POST,PUT wihtout any token/access details should work.
I exposed API's via WSO2 API Manager without any scopes. Tried to access them without any token ;but its not working.It says required oAuth credentails not found. Is there anything else to do to expose APIs so that they are accessible anonymously?
回答1:
In the Manage
page of publisher, you can set Authentication Type
to None
for each resource instead of the default value Application and Application User
.
来源:https://stackoverflow.com/questions/44606305/wso2-calling-apis-without-token