backend/controllers/api/AuthController.js
/**
     * Logs in with facebook and returns a JWT
     *
     * @param request
     * @param reply
     */
Logs in with facebook and returns a JWT
@param request
@param reply
Logs in with facebook and returns a JWT @param request @param reply
facebookLogin(request, reply) {
        SessionManager.facebookLogin(request.payload.accessToken).then(
            (userInfo) => {
                reply(userInfo);
            }
        ).catch(
            () => {
                reply(Boom.forbidden());
            }
        );
    }
facebookLogin ( request , reply ) { SessionManager . facebookLogin ( request . payload . accessToken ) . then ( ( userInfo ) => { reply ( userInfo ) ; } ) . catch ( ( ) => { reply ( Boom . forbidden ( ) ) ; } ) ; }
Logs in with facebook and returns a JWT
 @param request
 @param reply
Logs in with facebook and returns a JWT @param request @param reply