Posts

Showing posts from December, 2019

WSO2 Api Manger version 3.0.0 Token API CORS Issue

Image
Recently I have come across a situation where I have done the single node installation of WSO2 API Manager Version 3.0.0. and come across challenges in accessing the Token APIs  that is used to generate/revoke the token. Below is the detailed summary of the issue and solution- Environment :   OS: Linux Ubuntu 16.04 Database : MySQL 8.x WSO2 APIM : 3.0.0 WSO2 APIM and my Angular Application is running on two different VMs Problem: All the backend APIs were successfully registered with OAuth security. However, there was provision to enable/disable CORS per API basis via publisher as show below- Now, we can't allow the the token validity to an indefinite time and hence specific duration is specified say 15 mins for API access and then the client need to request for a new token. The API that provides a new token is native to WSO2 APIM and there is no UI based provision in version 3.0.0 to enable/disable CORS (Cross Ori...