Comments (3)
I just got the same error using google so whatever causes it isn't limited to github logins
Error: WARNING: You are trying to access the attribute/method configured by `findUserById`, which you did not configure. Time to configure it.
at EveryModule.(anonymous function) [as findUserById] (/opt/doorman/node_modules/everyauth/lib/modules/everymodule.js:133:13)
at fetchUserFromSession (/opt/doorman/node_modules/everyauth/index.js:95:43)
at Object.handle (/opt/doorman/node_modules/everyauth/index.js:43:5)
at next (/opt/doorman/node_modules/connect/lib/http.js:203:15)
at Object.checkUser [as handle] (/opt/doorman/app.js:40:5)
at next (/opt/doorman/node_modules/connect/lib/http.js:203:15)
at next (/opt/doorman/node_modules/connect/lib/middleware/session.js:323:9)
at /opt/doorman/node_modules/connect/lib/middleware/session.js:342:9
at /opt/doorman/node_modules/connect/lib/middleware/session/memory.js:52:9
at process._tickCallback (node.js:419:13)
from everyauth.
Assuming you're using express 3.x (not 4.x), please refer to https://github.com/bnoguchi/everyauth#accessing-the-user
everyauth.everymodule.findUserById( function (userId, callback) {
User.findById(userId, callback);
// callback has the signature, function (err, user) {...}
});
from everyauth.
From what I could see I think this bug should probably be filed against Doorman not everyauth. Thanks for the explanation.
from everyauth.
Related Issues (20)
- Security vulnerability on Connect is present in Everyauth HOT 3
- Up version of request
- Don't lock dependencies to minor versions
- need email and name only from services HOT 1
- everyauth with google authentication return [object Object] HOT 8
- Facebook GraphAPI HOT 2
- Facebook oauth issue
- i get an error on index.js file router._dispatch is undefined
- Passing redirectPath a function is broken on oauth2
- Broken link
- LDAP authentication flexibility
- Facebook Graph API v2.0 end deprecation window on Monday, August 8, 2016
- Your website is down HOT 3
- Can you use it for Google Authenticator?
- Roadmap to 0.4.10 HOT 1
- The Website link provided has been acquired HOT 1
- 😁 HOT 1
- Facebook password HOT 2
- Switch to OAuth 2 for OpenStreetMap provider
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from everyauth.