Saturday, 6 May 2017

cors has been block facebook login from client side

Please help. I build example with facebook login on my website but i always get error has been block by cors. i using seperate folder 1. client folder & 2. server folder. i testing on my server with running node.js on localhost:3000 and live-server for client on 127.0.0.1:8080.

on server i using express(), passport-facebook and i already instal cors(). i already test localhost:3000 with shot directly on my browser it's work go to access facebook,

but i can't get using on client folder where my folder index.html. on index.html i using vuejs and axios for Promise based HTTP client for the browser and node.js.

how to get access on my index.html to my server folder?.



via justunknown

No comments:

Post a Comment