is this project still being maintained?
ppcano opened this issue · 1 comments
ppcano commented
Or on the other hand, it is recommended to use everyauth with a custom backend solution.
lg
bnoguchi commented
It's written in such a way that it inherits every upgrade to everyauth (minus new oauth providers added to everyauth). For example, a recent commit to everyauth that adds mobile oauth dialog support to the facebook module, should be available for free in mongoose-auth via:
// STEP 1: Schema Decoration and Configuration for the Routing
UserSchema.plugin(mongooseAuth, {
// Here, we attach your User model to every module
everymodule: {
everyauth: {
User: function () {
return User;
}
}
}
, facebook: {
everyauth: {
myHostname: 'http://localhost:3000'
, appId: 'YOUR APP ID HERE'
, appSecret: 'YOUR APP SECRET HERE'
, redirectPath: '/'
, mobile: true // NEW CAPABILITY INHERITED FROM EVERYAUTH
}
}
});