dgrubelic / vue-authenticate

Simple Vue.js authentication library
1.43k stars 252 forks source link

vuejs with loopback framwork: login with facebook #126

Open lokeshbansal1993 opened 6 years ago

lokeshbansal1993 commented 6 years ago

Hello,

I face one issue when use this plugin for login with facebook and vuejs2. I following this step: use configuratioin path: redirectUri: 'http://localhost:8080/auth/callback' // Your client app URL baseUrl: 'http://localhost:3000/api/user', // Your API domain and use client id and secret key.

then use :

      </div>

after clicked go to this function: authenticate: function (provider) { this.$auth.authenticate(provider).then(function () { console.log("Lokesh Response"); // Execute application logic after successful social authentication }) }


then login and call: http://localhost:3000/api/user/auth/facebook this url automatically with 3 perameter with post request. (clientid, code , redirectUri) but not found loggedin fb emaiil id and other information. Please help me...actually i need to use to this plugin..otherwise suggest new plugin for login with fb

lokeshbansal1993 commented 6 years ago

@dgrubelic please help me

JinalSomaiya commented 5 years ago

@dgrubelic i have same issue. please help me for facebook login.