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
0
votes
1 answer

socketstream tutorials/authentication can't use Everyauth with the chat demo

https://socketstream.github.io/socketstream/docs/#/tutorials/authentication when i put the codes in this section to the demo project(real time chat), the chat function doesn't work. can any one help me with this? here's my code: //…
Ryan
  • 1
0
votes
1 answer

Mocking everyauth login in a mocha test - nodejs

I am new to mocha and am trying to get familiar with writing tests in mocha. I have a scenario where I am currently using everyauth to authenticate users using facebook authentication. Thus, I may have a request to an endpoint users/profile which is…
0
votes
1 answer

Everyauth is not working in express 4

I'm using nodejs, express 4 and everyauth for social network authentication. I'm having some problem where I click Accept from Google and and redirects back to my / I get _http_outgoing.js:335 throw new Error('Can\'t set headers after they are…
toy
  • 11,711
  • 24
  • 93
  • 176
0
votes
1 answer

Why does findOrCreateUser promise to return a user object?

The findOrCreateUser function expects a user object returned. Why is this? What does it do with it? Does it merely read and store the user's id for later reference? Also, why doesn't it have a callback? Otherwise isn't it going to block whilst the…
Ian Warburton
  • 15,170
  • 23
  • 107
  • 189
0
votes
1 answer

Why does everyauth depend on session?

I can authenticate with facebook and everyauth but it doesn't work without the session module plugged in. The error message is... Step getSession of facebook is promising: session ; however, the step returns nothing. Fix the step by returning the…
Ian Warburton
  • 15,170
  • 23
  • 107
  • 189
0
votes
2 answers

Does everyauth or passport works in expressJs 4+

I've been looking for authentication in nodeJs. I've looked at PassportJs and Everyauth. Both of them had old documentation and old version of express used. Things that depreciated in express…
Shamal Sandeep
  • 519
  • 4
  • 9
0
votes
1 answer

How to correctly set up session with everyauth and express?

I am trying to build a simple nodejs app that can log in with facebook using express and everyauth. Following the README tutorial here, I've performed the following setup in app.js: var everyauth = require('everyauth'); everyauth.facebook …
ChaseMedallion
  • 20,860
  • 17
  • 88
  • 152
0
votes
1 answer

Promises issue on github authentication using Everyauth

After I navigate to url.com/auth/github and authorize github I get the error listed below saying I haven't fulfilled the promise even though I have done so in App.js. App.js: var appPath = __dirname + '/app' , http = require('http') , path…
Henry Boldizsar
  • 489
  • 1
  • 8
  • 25
0
votes
1 answer

EveryAuth not setting req.user

I am having a problem with everyauth not setting req.user. I have implemented the findUserById function and I have an 'id' attribute on my user object. Here is my app.js: var express = require('express'); var everyauth =…
bbeny
  • 632
  • 1
  • 7
  • 18
0
votes
1 answer

everyauth fails to enter authenticate method with express but works with connect

I have a REST API application, implemented using Express on NodeJs. I wanted to add authentication, and decided to use everyauth, as we need authentication through social network sites in future. I copy & pasted everyauth example for password from…
0
votes
2 answers

Multiple login paths for everyauth

I have a node.js + express project that's using everyauth. I'm in the process of reworking the routes and I would like to have multiple routes for the login and logout paths so two api versions can coexist at the same time. Calling postLoginPath…
radu
  • 606
  • 7
  • 17
0
votes
1 answer

Configuring Twitter everyauth `consumerKey` for node angular express bootstrap web app

I'm using https://github.com/ganarajpr/express-angular and get this error when I try running the app: git clone https://github.com/ganarajpr/express-angular.git && cd express-angular/ && npm install && nodemon app.js $ nodemon app.js 26 Oct…
enducat
  • 1,676
  • 3
  • 17
  • 16
0
votes
1 answer

NodeJS social + authorization with Passport or Everyauth

My question may be a little trivial since I am coming from Java background. I have need the following with Node.js User should be able to connect to multiple social sites like Facebook, Google and Twitter at the same time. Site/module must be able…
shrw
  • 1,719
  • 5
  • 27
  • 50
0
votes
1 answer

Using everyauth with LinkedIn

I'm trying to use everyauth to authenticate my app using LinkedIn. The authentication itself works out of the box, but the object returned by everyauth from LinkedIn (req.user) includes LinkedIn's "basic profile" info only, and not the user's…
user2208171
  • 183
  • 1
  • 1
  • 6
0
votes
1 answer

Generating user "token" in Express app (using everyauth/passport middleware)

I need to create "tokens" for users to send when they make calls to my API. My question is, what should I do to go about generating these tokens? I should mention that I'm currently using modules such as everyauth and passport for authentication…
user1082754