I am trying to use passport to authenticate with Facebook but it is returning an error:
XMLHttpRequest cannot load https://www.facebook.com/v2.2/dialog/oauth?response_type=code&redirect_uri=…%2Fapi%2Fauth%2Ffacebook%2Fcallback&scope=email&client_id=1504988306431596. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:3000' is therefore not allowed access.
How can I fix this?