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
127
votes
9 answers

Node.js setting up environment specific configs to be used with everyauth

I am using node.js + express.js + everyauth.js. I have moved all my everyauth logic into a module file var login = require('./lib/everyauthLogin'); inside this I load my oAuth config file with the key/secret combinations: var conf =…
andy t
  • 3,767
  • 3
  • 19
  • 14
125
votes
7 answers

Everyauth vs Passport.js?

Everyauth and Passport.js seem to have very similar feature sets. What are some of the positive and negative comparisons between the two that would make me want to use one over the other?
EhevuTov
  • 20,205
  • 16
  • 66
  • 71
15
votes
1 answer

What are everyauth promises?

I don't understand what everyauth promises are. I see that I need to return a promise object or user, but what is an everyauth promise?
rizidoro
  • 13,073
  • 18
  • 59
  • 86
9
votes
3 answers

everyauth is not defined

I am new to nodejs, everyauth,etc. I am having some trouble with everyauth. In my view, if I access everyauth object, I get an error 'everyauth is not defined'. However the oauth flow itself works fine with everyauth. Here are the details, entry…
user1566788
  • 585
  • 2
  • 6
  • 14
8
votes
2 answers

Access server session information on the client without reload or extra request

I authenticate server-side with express.session. The normal way of communicating that session information client-side is to rerender the page with new HTML generated server-side, but this requires a reload. I have a one page app and want to avoid…
Randomblue
  • 112,777
  • 145
  • 353
  • 547
6
votes
2 answers

NodeJS + Express + Mongo Session storage

I am currently having a hell of time trying to store sessions in MongoDb. I've tried express-session-mongo and connect-mongodb and both give me the same "500 internal server error" when I try to load the login page. Which leads me to think maybe…
Lancelot
  • 2,417
  • 12
  • 39
  • 46
6
votes
2 answers

Clearing sessions in mongodb, expressjs, nodejs

My configuration: app.configure(function(){ app.set('views', __dirname + '/views'); app.set('view engine', 'jade'); app.use(express.bodyParser()); app.use(express.cookieParser()); app.use(express.session({ secret: 'MY…
Rajat
  • 32,970
  • 17
  • 67
  • 87
4
votes
2 answers

Express.js: how to bypass Everyauth for certain routes?

I'm writing an application based on Express.js, while using Everyauth for authentication. To initialize everyauth, I use: app.use(everyauth.middleware()); I'd like to bypass authentication for certain routes. Specifically, I noticed findUserById is…
Lior Grossman
  • 315
  • 3
  • 9
4
votes
1 answer

Does dnode have authentication middleware?

I'm building an express app that uses everyauth and would like to use dnode. I want to be able to use the req.loggedIn boolean set up, but for dnode rpc calls. Can this be done by having dnode listen to express? Can it access express middleware…
fancy
  • 48,619
  • 62
  • 153
  • 231
4
votes
2 answers

everyauth.twitter.redirectPath('/'); - change based on original page URL

I want a user to be able to share a link to secure content eg. www.mysite.com/#/article1, then when another user opens this link, they get redirected to the login page, then on complete they get redirected to the same URL. I have a single page app…
andy t
  • 3,767
  • 3
  • 19
  • 14
4
votes
1 answer

ExpressJS/Node ajax login

Hi I am using the express framework to make a site in node. I am trying to use facebox to present a box where a use can login so that the music on the site will not have to stop playing. I am using mongoose-auth/everyauth for authentication and…
Jonovono
  • 3,437
  • 5
  • 42
  • 64
4
votes
2 answers

Everyauth: Check github authentication against a database

I'm pretty new to node.js and I'm having problem with the everyAuth module. My issue is, I am trying to create an app that lets the user login via github oauth and checks to see if the user is whitelisted in the database. I want to stop the…
Ad Taylor
  • 2,775
  • 5
  • 27
  • 32
4
votes
1 answer

Using everyauth with restify

I'm trying to use everyauth to handle authentication for a rest api created with restify. But can't find a starting point. I'd expect to be doing something like: var restify = require('restify'); var everyauth = require('everyauth'); var server =…
AyKarsi
  • 9,435
  • 10
  • 54
  • 92
4
votes
1 answer

Using Everyauth/Express and Multiple Configurations?

I'm successfully using Node.js + Express + Everyauth ( https://github.com/abelmartin/Express-And-Everyauth/blob/master/app.js ) to login to Facebook, Twitter, etc. from my application. The problem I'm trying to wrap my head around is that Everyauth…
Zane Claes
  • 14,732
  • 15
  • 74
  • 131
4
votes
1 answer

everyauth with express (boilerplate) application

I am trying to integrate facebook login into an express application (using the node boilerplate code from https://github.com/robrighter/node-boilerplate). Here is the server.js code: //setup Dependencies var connect = require('connect') ,…
ejang
  • 3,982
  • 8
  • 44
  • 70
1
2 3 4 5 6 7 8