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
1
vote
0 answers

How can I access my user object from loginLocals using everyauth?

I have tried the following .loginLocals(function (req, res, done) { console.log(req.user); done(); }) And it seems to be called upon GET (req.user is undefined) but not POST (at which point I would be able to access the user and feed in…
deltanovember
  • 42,611
  • 64
  • 162
  • 244
1
vote
0 answers

automatically log in user after password reset

I'm using everyauth password authentication for registration and login in my node.js application. Right now, when a user resets their password, they have to login once the password is saved. I want everyauth to automatically login the user once they…
jokham
  • 265
  • 4
  • 13
0
votes
1 answer

Allow only specific users to login using everyauth

I have an expressjs app with everyauth setup. Everyauth is working fine. Now, I want everyauth to allow users to login into the app whose email id matches a regular expression. Say I want people to login whose email starts with the letter "foo"…
ArjunUrs
  • 127
  • 1
  • 6
0
votes
1 answer

node.js/everyauth: Maintaining session information with auth request

Ok, so I'm banging my head against the wall trying to figure this out! I'm trying to authenticate via Facebook. I've got node (0.6.13) running express on an amazon ec2 server. I'm using everyauth for auth, and I have mongodb (mongodb native and…
Paul
  • 169
  • 2
  • 10
0
votes
2 answers

Everyauth and accessing the (twitter) oauth data from within findUserById

I am trying to use everyauth within express to authenticate users to a website that allows adding text commentary to images. I am currently using the twitter oauth api to authenticate my users. Now I'm trying to established a custom user database…
arvidkahl
  • 852
  • 8
  • 15
0
votes
1 answer

Http Route called multiple times

When the following route is called in express, it is actually executed 6 times. The console.log is printed 6 times, and my mongoose logic is executed 6 times (saves 6 time in database). I then get returned a http 500 from cloud9ide "Could not proxy…
guiomie
  • 4,988
  • 6
  • 37
  • 67
0
votes
2 answers

Developing with everyauth locally

I want the Node everyauth module to work locally with Twitter (say). (I have got it working online, but not locally.) Following this tutorial (see around 5:00) I have modified /etc/hosts and added the line 127.0.0.1 http://myExampleWebsite.com I…
Randomblue
  • 112,777
  • 145
  • 353
  • 547
0
votes
1 answer

Node.js: Has anyone integrated Mongoose-Auth/EveryAuth with Express in a MVC way?

Does anyone have an example repo that integrates Mongoose-Auth with Everyauth in a MVC organized Express application? I realize that's probably a stretch, but any help or pointers on how to integrate Mongoose-Auth/Everyauth with a MVC structure are…
k00k
  • 17,314
  • 13
  • 59
  • 86
0
votes
1 answer

Mongoose-Auth (everyauth): how to render view on success

Just didn't get how to do custom response (send or render) on successfull auth with provider (facebook, etc): handleAuthCallbackError method has request and respose parameters and I can do: response.render or response.send but findOrCreateUser does…
WHITECOLOR
  • 24,996
  • 37
  • 121
  • 181
0
votes
2 answers

Use everyauth package for authorizing users to access data via REST api calls

I am developing a google chrome extension that needs to communicate with a nodejs server. I was wondering if its possible to use everyauth package to simplify authentication. For starters, I just wanted to use simple password based authentication.…
Ritesh Kadmawala
  • 743
  • 9
  • 17
0
votes
2 answers

What is the best way to add another step in to everyauth?

I would like to add another step to the OpenId authentication sequence defined in the everyauth openid module. I am not sure if everyauth is designed for this. The author mentions that it is customizable but there are no examples and I am still a…
0
votes
1 answer

Redis usecase for social auth data

I checked EveryAuth module which has excellent features and decided to use in my project. My Question is, How to handle the social auth data (twitter,facebook...) in redis
Ganesh Kumar
  • 1,341
  • 11
  • 18
0
votes
1 answer

Merging login and registration pages in everyauth for express.js

In the default everyauth setup for password authentication, login and registration pages are distinct. I tried merging the corresponding jade files and arranging the get/post register and login paths in my server file to be the same. Then I loaded…
0
votes
1 answer

Is it possible to have multiple account structures with EveryAuth / MongooseAuth?

I'm working on setting up authentication with connect-auth on express & mongoose but there is just so much to do and it's kind of bogging me down. I could continue down this path but it seems like a lot like re-inventing the wheel. EveryAuth (with…
Chance
  • 11,043
  • 8
  • 61
  • 84
0
votes
1 answer

Everyauth error

I'm trying to use everyauth in my nodejs application, however I keep getting the following error while trying to authenticate via Google: Error: Step getSession of `google` is promising: session ; however, the step returns nothing. Fix the step by…