Questions tagged [everyauth]

Everyauth is an Authentication and Authorization framework for Node.js Connect and Express apps.

Everyauth is an Authentication and Authorization (password, Facebook, Twitter, OAuth & more) framework for Node.js Connect and Express apps.

112 questions
2
votes
1 answer

NodeJS everyauth get access token

I am trying to get the access_token for a user using the FB API + everyauth module for NodeJS, and then I will make serverside graph API requests using the Facebook_Graph_API module to actually make the requests (which requires an access…
ejang
  • 3,982
  • 8
  • 44
  • 70
2
votes
0 answers

Handling Facebook registration via my Facebook application - using nodejs everyauth

We have Facebook authentication integrated into our User Accounts system (nodejs, express) using everyauth. What is done now (in pseudo code): everyauth .facebook .appId('....') .appSecret('.....') .findOrCreateUser( function…
Elena Viter
  • 514
  • 6
  • 12
2
votes
1 answer

Configuring findByUserId for everyauth - node, express, mongoose, everyauth

I'm rather new to Node.js and Express. I'm trying to finish the configuration of everyauth with Twitter and I'm trying to access the 'res.user' on the server side which according to the documentation of everyauth requires that .findByUserId gets…
aressidi
  • 680
  • 1
  • 10
  • 26
2
votes
1 answer

how do i use everyauth for simple (single step) authentication?

how do i use everyauth to perform a very simple oauth authentication with node.js if i have both the public and secret key? unlike a multi-step facebook-type authentication, i just want to do use everyauth to make simple authenticated REST…
Paul
  • 9,285
  • 6
  • 29
  • 37
1
vote
2 answers

Couldn't get everyauth's req.user inside router functions

I am a newbie of node.js and everyauth. While I just playing around everyauth I have realized that everyauth.user works in jade views but I couldnt get req.user work inside page callbacks. /** * Module dependencies. */ var express =…
1
vote
2 answers

Authenticate with Twitter in the same page

I'm using the Node module everyauth for authentification with Twitter. At the moment, the user has to go to /auth/twitter/ to authenticate, with a redirect path. The problem is that the redirect path reloads the page, which break the "one-page app"…
Randomblue
  • 112,777
  • 145
  • 353
  • 547
1
vote
1 answer

LoggedIn undefined in everyauth

My code used to work, and after a few days of not touching it because cloud9ide wasn't working properly, it stopped working. I always get a req.loggedin as undefined with everyauth module. I do a simple : app.get('/view/:htmlpage', function(req,…
guiomie
  • 4,988
  • 6
  • 37
  • 67
1
vote
1 answer

How to persist user id info using everyauth and nodejs

everyauth.everymodule.findUserById is called with an id parameter that everyauth picks up from req.session. This then can be used to load the user info which is passed into req.user On localhost when the node app.js server is restarted the session…
molicule
  • 5,481
  • 3
  • 29
  • 40
1
vote
2 answers

Worth reworking a nodeJS server to use Connect (mainly for everyauth)?

For the past 6 months, I've been working on my own nodeJS app, where I've built everything myself from the ground up. There are only a couple things that my server does, since most of the work in my app is done on the front-end. One thing I'm…
thisissami
  • 15,445
  • 16
  • 47
  • 74
1
vote
1 answer

node.js - everyauth - Facebook API & session handling

I'm running a node.js server app, using everyauth for my authentication scheme and attempting to reach out to the Facebook API from my server. The way I currently handle this once the user is logged in (via everyauth using the Facebook module)…
ghjunior
  • 119
  • 10
1
vote
2 answers

Setting up a local.host alias for localhost on windows

I'm trying to setup everyauth for my node app. Although I've reached a step that I have no idea how to accomplish. It's asking to setup local.host as an alias for localhost, but it references some linux folders, I'm using windows. Here's the exact…
Ally
  • 4,894
  • 8
  • 37
  • 45
1
vote
1 answer

everyauth password example error

I followed the installation for everyauth, according to their guide: http://everyauth.com/#installation I'm trying to run the Password example, but after I run the server, and to go localhost:3000 in the browser I get this error: Error:…
Aviram Netanel
  • 12,633
  • 9
  • 45
  • 69
1
vote
0 answers

How to get only email address using everyauth in node.js

I am developing web application using node.js, and I want to give fetcher to my user to import contacts from various email services (eg. gmail, facebook, linkedin etc..). For that I am using everyauth module to connect these services. I am setting…
Manish Sapkal
  • 5,591
  • 8
  • 45
  • 74
1
vote
0 answers

everyauth: How do I return the form data from validateRegistration

I use the password module of everyauth and I do some validation upon registration in the validateRegistration method, push some errors, fulfill the promise and return it back. But this way I'm missing the form data (i.e. the entered email, first,…
Emil Stoychev
  • 81
  • 1
  • 5
1
vote
0 answers

Node.js twitter auth redirect

I want to enable oauth login with twitter. I added the following code for everyauth in server.js everyauth .twitter .consumerKey('mykey') .consumerSecret('mysecret') .findOrCreateUser(function (sess, accessToken, accessSecret, twitUser) { …
blfuentes
  • 2,731
  • 5
  • 44
  • 72