2016-08-15 15 views
0

Ich habe Facebook Authentifizierung mit eckigen js für die Front-und Laravel für das Backend implementiert, obwohl alles andere funktioniert gut erhalten Sie die Token von Facebook, aber Satellizer doesnot redirectUri auf Erfolg.satellizer redirectUri funktioniert nicht nach erfolgreicher auth

unten ist mein Code

 $authProvider.facebook({ 
     clientId:'xxxxxxx', 
     url: config.api.protocol + '://' + config.api.host + config.api.path + 'auth/facebook', 
     redirectUri: window.location.origin + '/dashboard/home' 
     }) 

Antwort

-1

Sie die Umleitung URI wie unten redirectUri geben sollte: 'http://localhost:3000/'

es funktioniert gut für mich

Verwandte Themen