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
3
votes
2 answers

Does connect.session work with node-azure

I'm starting to develop an application using node.js on azure. I'm using everyauth to provide authentication because I want to support lots of different authentication methods. I plan to deploy to Azure. The potential problem I have is that…
ForbesLindesay
  • 10,482
  • 3
  • 47
  • 74
3
votes
3 answers

How can I check if a user is already logged in? (everyauth, node.js)

Up until now I've been using client-side auth. I just set up server-side everyauth and it is working great but how can I do something like FB.getLoginStatus(what I did client-side) when the page loads? If the user is already logged in I dont want to…
fancy
  • 48,619
  • 62
  • 153
  • 231
3
votes
1 answer

triggering everyauth login process without page refresh (facebook auth)

I've set up everyauth and it seems quite nice. Right now, as illustrated in this NodeTuts episode, one has to go to http://www.example.com/auth/facebook or http://www.example.com/auth/twitter in order to authenticate. How can I configure everyauth…
Gezim
  • 7,112
  • 10
  • 62
  • 98
3
votes
2 answers

How can I deny a user from logging in with mongoose-auth / everyauth

Using node.js / expressjs / mongoose / mongoose-auth / everyauth. All versions are up to date. I'm trying to use a database table to whitelist users by email address during development, but I want the primary method of auth to be facebook. I'm…
jhoff
  • 716
  • 7
  • 14
3
votes
2 answers

Concerns in using everyauth

I am having serious trouble in using everyauth. All I need is facebook login. For that I am trying to use the example of everyauth. Once I do facebook authentication, how can I check in every page if the user is logged in or not/ get his facebook…
user34790
  • 2,020
  • 7
  • 30
  • 37
3
votes
1 answer

User Permission Level in Passport

Any tutorials on using the Dynamic scope and permissions of the Passport authentication library for Node. Did not find any in the documentation. How do we set the user type for the authenticated user? Is it easier to do in everyauth?
kyleED
  • 2,327
  • 2
  • 18
  • 23
3
votes
0 answers

NodeJS Everyauth multiple redirect

I am using Everyauth + Express + NodeJS to allow users to log into Facebook. I would like to re-direct them to the page that they logged-in from - is there any way I can get the everyauth.facebook configuration to support multiple redirect…
ejang
  • 3,982
  • 8
  • 44
  • 70
3
votes
1 answer

Why does this code with nodejs, and everyauth crash with an empty array from MySQL?

I have some code that connects to a MySQL db to auth any user... this code works fine. The problem is when I receive an empty array from MySQL, it crashes nodejs... This is part of the code in everyauth... sql is a exported function... var promise =…
andrescabana86
  • 1,778
  • 8
  • 30
  • 56
3
votes
1 answer

new cookie value from socket.io doesn't work?

I try to use socket.io id for multiple browser Window/Page. It's for SNS-auth-process using everyauth, and the project is based on express. Here is my project design: A full ajax main page maintaining a socket.io connection. No reload, no redirect…
user1028880
3
votes
2 answers

node.js Connect (not Express) hello-world example for session

I need to implement everyauth with node.js Connect (not Express), very securely. Despite the site provides some code samples for Connect, I'm not familiar with how node-Connect-session-middleware handles session. Can someone please introduce some…
user1028880
2
votes
0 answers

Edit User Password in mongoose-auth

How can I edit the user password in mongoose-auth? I can edit all the others parameters but this no. Any idea? I solved this saving salt and hash with bcrypt.
Donflopez
  • 1,178
  • 7
  • 13
2
votes
1 answer

Can't get custom user from everyauth

I did read manuals about access to current user via everyauth. It's say, that I can read current user info from: req.user on my server, everyauth.user and user on my views, but they are undefined. But if I'm try get access from, for example,…
asci
  • 2,540
  • 4
  • 16
  • 15
2
votes
1 answer

Node.js EveryAuth Get Google Email Address

I am attempting to retrieve the google email address when making an OAuth2.0 call to google, using EveryAuth NPM lib. Has anyone managed to get the email to return using EveryAuth? everyauth.google .entryPath('/auth/google') …
sharky101
  • 812
  • 5
  • 11
2
votes
1 answer

NowJS current session

I am creating node.js app using express, everyauth and now.js. I have a server-side now.js function in which I want to be able access the 'User' object for the authenticated user calling this function. I dont have access to the a 'request' or…
gonzohunter
  • 832
  • 1
  • 8
  • 18
2
votes
2 answers

Using passportJS or everyauth in single page application

I am using node with express as a server for my single page application (I am using AngularJS but this isn't related to the question). I need to add authentication abilities using passportJS or everyauth. I cannot use other package. I tried a many…
Naor
  • 23,465
  • 48
  • 152
  • 268