Comments (8)
I'm using:
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
from mongoose-auth.
Oh yeah - [email protected]/[email protected]
It's happening, of course, when setting up the routes:
mod_mongoose = require('mongoose');
mod_mongooseAuth = require("mongoose-auth");
app = module.exports = mod_express.createServer();
app.configure(function(){
...
mod_mongooseAuth.middleware();
});
from mongoose-auth.
Thanks for notifying me of the Issue. The bug is that the code loads ALL of the modules. I just pushed a fix for this. Now, modules are only enabled when you first access them via everyauth like:
everyauth.facebook;
Or via mongoose-auth like:
schema.plugin(mongooseAuth, {
facebook: {
everyauth: {...}
}
}); // i.e., the modules that are now enabled are the keys of this Object -- i.e., `facebook`
Should be everyauth v0.0.10 now via npm install.
from mongoose-auth.
Thanks! Makes sense. I just did a quick npm update of everyauth (verified @0.0.10) and am getting the same error, but I'll dig in a little later and confirm if it's still an issue or not.
from mongoose-auth.
Can you send me a gist?
from mongoose-auth.
This was giving me trouble today as well - it works via everyauth but not via mongoose-auth.
I propose the following fix:
https://github.com/bnoguchi/mongoose-auth/pull/2/files
from mongoose-auth.
mongoose-auth does not need a patch. The issue lies with everyauth. I just fixed this completely this time. Install everyauth v0.1.0 via
$ npm install everyauth
from mongoose-auth.
Thanks - seems to be working now (at least not crashing on startup.) I also
noticed that node was still using the older 0.9.0 everyauth when I followed
up, have upgraded/forced 0.1.0 and it's looking good, thanks.
Jason Bond Pratt
President/CTO, Tixelated
202.841.8396
http://tixelated.com/[email protected]
http://tixelated.com/
http://tixelated.com/ [email protected]://tixelated.com
http://twitter.com/tixelated
On Thu, Apr 14, 2011 at 1:49 PM, bnoguchi <
[email protected]>wrote:
mongoose-auth does not need a patch. The issue lies with everyauth. I just
fixed this completely this time. Install everyauth v0.1.0 via$ npm install everyauth
Reply to this email directly or view it on GitHub:
#1 (comment)
from mongoose-auth.
Related Issues (20)
- Doesn't install out-of-the-box on Windows (without cygwin) HOT 3
- Is this project still being maintained? HOT 8
- problem installing mongoose-auth on Mac OSX HOT 3
- routing with password authentication?
- Cannot find module 'bcrypt' in nodejs application ? HOT 1
- How do I fix this? getAccessToken of `twitter` module timed out.
- mongooseauth cant install in Windows npm HOT 1
- Node 0.8.0, OSX, bcrypt installs but won't load, wrong architecture HOT 2
- Not able to register new user HOT 1
- Examples on the site incompatible with the latest version of express
- Error with everyauth after 0.3 version update HOT 8
- "everyauth is not defined" error when using view helpers HOT 1
- Installation fails on Linux64 HOT 2
- Where I can found the createWithFB method described on the README.
- Broken out of the box.
- Workin example in Rails
- Error on running example
- Error running example HOT 3
- Don't create a session after registering HOT 2
- problem with loginWith
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 mongoose-auth.