Search code examples
wso2access-tokenwso2-api-manager

Having issues with Gateway Access URLs(token issues) in wso2 API Manager 4.1.0


Recently we have configured latest WSO2 API Manager 4.1.0 and brought up the service, however we are seeing an error while hitting the token url

curl https://testapi-am.example.com:8243/token {"code":"404","type":"Status report","message":"Not Found","description":"The requested resource is not available."}

This was working on the prior version i.e wso2 API Manager 3.1.0.

On the wso2 API Manager 3.1.0 version we are not facing any issues.


Solution

  • In APIM v4.x versions token API and other key management APIs are not exposed via the gateway. Instead you have to call https://testapi-am.example.com:9443/oauth2/token