samedi 10 janvier 2015

Ember Cli Authentication with node server and social logins

I am building a ember cli app and I would like to know what is the best approach for user authentication and authorization.


I fiddled around with http://ift.tt/17HJBBx


http://ift.tt/1sVsKb1


along with it for social auth like facebook and gmail. But what happens is client(emberjs) sends request to facebook/gmail app and gets back a token. But this token is on the client side and my server does not know about the received token. Question - How do I make the server aware of the token received on the client(ember js) ?


What should be the approach if on my ember app I want to include custom login that communicates with my node backend and gets a token and as well as I want to be able to login via facebook/gmial. ?


I am looking for a unified and seamless login solution that works well with ember cli





Aucun commentaire:

Enregistrer un commentaire