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

Using Everyauth/Passport.js to authenticate with Twitter whilst asking for username/email/password

I want to create an authentication system whereby the user can "sign up with Twitter", but all this effectively does is authenticate their Twitter account and prefills a registration form with their Twitter username. The user will then be asked to…
user1082754
0
votes
1 answer

Mongoose and EveryAuth Reference/Example/Tutorial

I'm working on authentication system for my website. I currently am working with the naive MongoDB driver for node, and my own custom authentication system, but I'm looking to switch over to the mongoose abstraction and the everyauth system, because…
Connor Black
  • 6,921
  • 12
  • 39
  • 70
0
votes
2 answers

Problems in integration of everyauth example with a simple login application

I am trying to use everyauth example for logging in with facebook. I printed the everyauth debug message which kind of shows that the authentication is performed successfully. However, the everyauth.loggedIn variable is not set. I am not sure why. I…
user34790
  • 2,020
  • 7
  • 30
  • 37
0
votes
1 answer

flash is undefined with Express 3, connect-flash, and everyauth

After upgrading to Express 3 I went through the "joys" of implementing connect-flash and have it working. I implement like this: var flash = require('connect-flash'); app.use(flash()); app.use( function (req, res, next) { …
pat
  • 3,513
  • 3
  • 17
  • 20
0
votes
1 answer

everyauth findByUserId error

I have working example with express 2.* but now I am moving to version 3.*. The problem is authentication with facebook which causes some problems. All works until the everyauth makes the GET request to facebook and then returns errror: 500 Error:…
Risto Novik
  • 8,199
  • 9
  • 50
  • 66
0
votes
1 answer

Node.js everyauth cluster error

I write scalable application with node.js and have a problem. When I click on facebook auth link (/auth/facebook) and when it's redirect me back — throws the error: {"error":{"message":"redirect_uri isn't an absolute URI. Check RFC…
asci
  • 2,540
  • 4
  • 16
  • 15
0
votes
2 answers

Everyauth sample for a beginner

I have a NodeJs+Express+Mongo application. Application does CRUD operation on model "Item" var Item = new Schema({ name: { type: String, required: true } , description: String , status: String , price: { type: Number, "default": 0 } …
dany
  • 1,801
  • 7
  • 27
  • 40
0
votes
1 answer

Issues in running everyauth example

I am trying to run the everyauth example. However, it is showing the following error ReferenceError: /Users/tyler/clicker/everyauth/example/views/home.jade:1 > 1| - if (!everyauth.loggedIn) 2| h2 Not Authenticated 3| #register 4| …
user34790
  • 2,020
  • 7
  • 30
  • 37
0
votes
3 answers

Issues with running everyauth example

I was trying to run the example of the everyauth module. However, I am having this error appearing when I type sudo node server.js Error: Cannot find module '../restler' I have been googling for a while but couldn't exactly find out the reason…
rajan sthapit
  • 4,194
  • 10
  • 42
  • 66
0
votes
1 answer

Everyauth.js fails on first Auth Request

Background: I am using nginx as a reverse proxy to my express server to handle SSL. I use the everyauth package to handle facebook oauth. Redis is used for session store. Problem: On the first auth request everyauth will timeout on the…
Oliver
  • 421
  • 3
  • 6
0
votes
1 answer

Everyauth example fails with "At step, fetchOAuthUser, you are trying to access the parameters: accessToken"

I have a fresh install of everyauth and running the example code produces the error: At step, fetchOAuthUser, you are trying to access the parameters: accessToken. However, only the following parameters have been promised from prior steps thus far:…
Andy Bisson
  • 580
  • 5
  • 19
0
votes
1 answer

everyauth always triggers authorization

I am using everyauth in my expressjs app to do oauth authentication & authorization with 37signals site. However, this is a general oauth question. When the user accesses my app the first time, he authenticates and authorizes my app from 37signals…
user1566788
  • 585
  • 2
  • 6
  • 14
0
votes
1 answer

Making an 'Authorized Request' to a Google API using node.js (with everyauth authentication)

I have an app on node.js using everyauth authentication returning tokens of the form { access_token: 'ya29.AHES6ZTlm9qdoFuY9sdpdmFTJISGaQ_69LnW8fszSzPjSCs', token_secret: { token_type: 'Bearer', expires_in: 3600, id_token:…
Dan Eastwell
  • 5,146
  • 4
  • 22
  • 34
0
votes
2 answers

How to hide Consumer Secret for Twitter Oauth in open source project?

How do you hide the consumer secret for Twitter which uses Oauth in your open-source project? Do you add the secret to the code before production deployment? This goes for secrets/passwords in your open-source code in general as well.
EhevuTov
  • 20,205
  • 16
  • 66
  • 71
0
votes
0 answers

Loose req.session when trying to get more FB privileges via everyauth

I've been doing user authentication with everyauth and Facebook and all works well. Now, I want to integrate an ability to post to Facebook. Since my app asks only for email scope when users first login, I'll need to get a larger FB scope, and am…
pat
  • 3,513
  • 3
  • 17
  • 20