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

Mongoose Checking/Handling authorisation on save

In a mongoose schema I'd like to check if a user my save a file. Using everyauth I've got it to work, but it throws an error with the full stacktrace into the console. SpotSchema.pre('save', function (next) { if(!everyauth.user){ //…
AyKarsi
  • 9,435
  • 10
  • 54
  • 92
0
votes
1 answer

Node.js, Epxress and everyAuth - "Cannot read property of <...>"

Im working on web authentication system that runs on node.js, express and everyauth. Every part of code was copy-pasted from here, although I have no luck with password authentication - i got ant exception while trying to POST form data. Excepction…
Mindw0rk
  • 91
  • 1
  • 4
0
votes
1 answer

why can't I get req.user in everyauth?

Hello I have a problem with everyauth: I don't know how to configure and get req.user in routes. Can anybody help me with how to configure? If you want to see more code just tell me. Thanks for visit .password // .loginWith('email') …
andrescabana86
  • 1,778
  • 8
  • 30
  • 56
0
votes
1 answer

Everyauth - connect with Foursquare

I'm trying to build a Foursquare app and I've selected the Everyauth module to implement the authentication (Connect with Foursquare). I'm getting the error Error: Step getAccessToken of `foursquare` module timed out. after the user allows the app.…
strada
  • 942
  • 9
  • 18
0
votes
2 answers

Why does everyauth crash with 'undefined is not a function'?

My code is as follows var express = require('express'), everyauth = require('everyauth'), util = require('util'), Promise = everyauth.Promise, users = require('./users'); everyauth.twitter .consumerKey('') .consumerSecret('') …
Hoa
  • 19,858
  • 28
  • 78
  • 107
0
votes
1 answer

Why might "auth/twitter"be missing from my NodeJS routes?

I'm working on a small NodeJS app that uses everyauth (technically mongooseAuth) to talk to twitter to authenticate users. I've set up the UserSchema per the instructions for mongooseAuth, as well as the user model, and included…
Case
  • 1,848
  • 21
  • 32
-1
votes
1 answer

Confusion related to everyauth

I was using this example everyauth application. However, I had a confusion related to it. server.js file var express = require('express') , everyauth = require('../index') , conf = require('./conf') , everyauthRoot = __dirname +…
user34790
  • 2,020
  • 7
  • 30
  • 37
1 2 3 4 5 6 7
8