wso2 calling API's without token

我与影子孤独终老i 提交于 2019-12-11 01:42:42

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!