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

Can I use my own templating engine and parameters with everyauth?

Everyauth documentation and sample app mentions: // a string of html; OR the name of the jade/etc-view-engine view .loginView('login.jade') Note login.jade has some everyauth specific parameters which everyauth seems to magically provide: #login …
mikemaccana
  • 110,530
  • 99
  • 389
  • 494
1
vote
1 answer

Using Express and everyauth to conditionally authenticate Google OAuth2

I'm trying to use everyauth with Google OAuth2, and I only want authentication to succeed if Google sends me a user in my company's Google Apps domain. I can't figure out how to gracefully abort authentication based on arguments to…
David Siegel
  • 1,604
  • 11
  • 13
1
vote
0 answers

everyauth error: missing code in querystring

I am using express with everyauth. When I authenticate using facebook I got the exception: Missing code in querystring. The url looks like /auth/facebook/callback?error_code=2102&error_message=User+is+not+a+test+user+owned+by+the+application Error:…
Naor
  • 23,465
  • 48
  • 152
  • 268
1
vote
1 answer

Express 3.0 + Everyauth + HTTPS

I'm using nodejs with express 3 and everyauth for google oauth. Implementation looks like this: everyauth.google /* snip */ .callbackPath('/loggedin'); var app = express(); app.configure(function(){ /* snip */ …
1
vote
0 answers

Node - everyauth.user helper in view is undefined?

Hey I'm trying to configure findUserById to use the everyauth.user helper method in the view. Here is my configuration: everyauth.everymodule.userPkey('_id'); everyauth.everymodule.findUserById( function (userId, callback) { …
Alex Fox
  • 1,175
  • 2
  • 15
  • 27
1
vote
1 answer

node.js everyauth twitter mongodb error: You are trying to access the attribute/method configured by `findUserById`, which you did not configure?

In the findOrCreateUser function, I'm returning a promise, that I then fulfill with a user document from mongoDB. Then it gives this error You are trying to access the attribute/method configured by findUserById, which you did not configure I used…
Farzher
  • 13,934
  • 21
  • 69
  • 100
1
vote
1 answer

Connect-Auth vs Everyauth vs Passport vs Authom - for realtime web apps?

What are some of the positive and negative comparisons between these for develop realtime web apps? I use SocketStream now.
aaa
  • 316
  • 4
  • 7
1
vote
0 answers

Example of OpenId implementation with Everyauth

I wish to implement OpenID on a Node.js server with Everyauth, and I was looking for an example to guide me, since I am quite new to Javascript and Node. I am aware of the everyauth documentation, but still, if I could play around with a…
roky
  • 208
  • 2
  • 9
1
vote
1 answer

OAuth2.0 in mongoose-auth?

I have authentication working well with mongoose-auth in node.js. Would like to connect to Google REST Api that requires OAuth2.0 authentication. Does mongoose-auth support OAuth2? (added everyauth as tag as mongoose-auth doesn't exist yet)
prototype
  • 7,249
  • 15
  • 60
  • 94
1
vote
2 answers

Facebook URL problems with hosted Cloud9 IDE

I have been building/testing Facebook authentication (node.js with everyauth) and all was well for several weeks. Then, something happened to the URL C9 provides. In the IDE when I launch my application, C9 says to connect via…
pat
  • 3,513
  • 3
  • 17
  • 20
1
vote
1 answer

Accessing session in everyauth.password?

I'm working on a node express app, and I've got it working well with the Facebook authentication already. I'm now attempting to enable our own email/password login and running it to a roadblock. With Facebook I am able to access and write to the…
BlueMoon
  • 170
  • 6
1
vote
1 answer

What is the "accessTokExtra" parameter in everyauth's facebook connect user creation callback function?

The code for everyauth's facebook findOrCreateUser() function is as follows: everyauth.facebook.findOrCreateUser(function(session, accessToken, accessTokExtra, fbUserData){ }); Can anybody share what the accessTokExtra parameter is…
thisissami
  • 15,445
  • 16
  • 47
  • 74
1
vote
1 answer

How to obtain Express sessionID on .findOrCreateUser of Everyauth?

I try to obtain Express sessionID on .findOrCreateUser of Everyauth. Backgroud of this question: Basically, I try to integrate Socket.IO and Express, and reading socket.io and Express. Tying it all together, I could obtain Express sessionID from…
user1028880
1
vote
1 answer

Use everyauth's authenticate method inside a route that is exposed via API?

Using express.js and everyauth with mongoose-auth, how can I create an external authentication route for an API I'm creating? I want to do this to authenticate a native iOS app against the user records in my MongoDB. So for example, here's some…
k00k
  • 17,314
  • 13
  • 59
  • 86
1
vote
2 answers

Authenticating via Github (using everyauth)

I'm using everyauth, and am having trouble authenticating it with github. It seems like all of the steps I've followed thus far are correct, but it keeps telling me it cannot GET /auth/github when clicking the "connect with github" link. Here's a…
Connor
  • 4,138
  • 8
  • 34
  • 51