I am trying to build social media login with facebook, LinkedIn and google.
For now i am doing it with google . So, I followed a post and it just told me how to get secret key and and Client id . Then i figured out that i need to add these codes to Server’s main JS files.
Now i am stuck with the google login method. I don’t know how to proceed and get info on my collection. Accounts -google package gets user information to users package. So i twisted the methods a bit and applied a logic.
I am also not able to logout through google system and once i login for first time through this login system, i login successfully after getting in, if i log out i am unable to log out from the google login. After login out from my app, when i press the google login button again, it just gets in without asking to login. tried Meteor.logout(). Didn’t worked for me.
I am using fully customized login signup with blaze as front end.
Can someone guide me through…?