我想讓wordpress作爲我的angularjs應用程序的後端,所以我使用jwt-auth 的插件rest-api,所以當試圖登錄時我得到以下錯誤Angular with wordpress jwt驗證碼
XMLHttpRequest cannot load http://localhost/back/wp-json/jwt-auth/v1/token. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://imider.ma' is therefore not allowed access. The response had HTTP status code 500.
我知道我要補充CROS訪問,但我不熟悉WordPress的,所以任何幫助?