How to authenticate after facebook login?


#1

My app uses passportjs on the server to authenticate users via facebook. Once logged in the server redirects back to the app and sets cookies for userid and access_token.

How can I make ember-simple-auth at this point detect the authentication was successful? Currently I have a second login button that verifies the access_token with my server’s api and then creates a session.

Apologies for the noobish question. I am new to ember and authentication.