ember.js - Ember cli simple auth login with facebook using torii authenticate against server using oauth2 -
how allow user login facebook , take facebook authentication code , pass server using simple auth oauth2?
i want validate whether or not user has permissions make request server.
i have been looking on , not able find point me in right direction.
i see examples tell me this.get('session').authenticate('simple-auth-authenticator:torii', 'facebook-oauth2');
do afterwords? , how use check against own server using oauth2?
a full example allowing multiple ways login server authentication returns user info used later on in application(user_id, firstname, lastname, etc...) appreciated!!!
Comments
Post a Comment