1
I’m creating an API and I’m trying to implement authentication with Faceboook. Here’s the scenario, there are 2 environments front-end and the back-end, both are in different domains. Ex:
Front:
http://meuappfront.com
Back:
http://minhaapiback.com
The Front will authenticate with the Javascript SDK and send to Back only the Token Facebook Access, which in turn will validate this Token with the PHP SDK.
My question is this::
Do I need to register an APP on Facebook for each domain? What if authenticating the Access Token on different Apps will work?
Hello Thiago, your answer is correct. But could you add some more details? The way the answer is, it can cause doubt when trying to do what you say.
– Randrade
Of course, one sec.
– Thiago Prado
I had already solved with only one APP, but thanks for responding anyway.
– KaduAmaral