Disabling Security for APIs¶
WSO2 API Manager enables OAuth 2.0 security for APIs by default. Therefore, all APIs must be invoked with an access token. You can get an access token in the following ways.
- Get an internal test key from Publisher
- Get an access token for a subscription from Developer Portal
For testing purposes, you can eliminate the need of an access token by disabling security for the entire API or a specific resource.
Disabling security for a single API resource¶
-
Click Resources listed under API Configurations in the left menu to navigate to the Resources page in the Publisher.
-
Expand any method and switch the security slidebar off to disable security for that specific resource.