Hi team,

I had changed the api-manager.xml with the following setting, but I still got 
the errors below:



XMLHttpRequest cannot load 
https://<mydomain>:9443/dynamic-client-web/register/. Response to preflight 
request doesn't pass access control check: No 'Access-Control-Allow-Origin' 
header is present on the requested resource. Origin 'http://localhost:63342' is 
therefore not allowed access. The response had HTTP status code 500.

I want to use the api https://<mydomain>:9443/dynamic-client-web/register/ to 
get the client secret and client id and then to get access token with 
oauth2/token

Could you tell me how to setup CORS in IOTS? 

Thanks.
------
Zhanwen Zhou (Jason)
+86 13922218435
[email protected]
Guangzhou Smart Cloudex Technology Co., Ltd.
Business: IOT, API Management

_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to