Google, Facebook and Twitter SSO gone
-
Hey guys,
I've run into this today and was locked out getting a big long error while trying to login, Twitter and Facebook both were gone google was still there.
After getting back in and some testing it seemed twitter plugin was causing the issue I login error and the disappearance of Facebook and twitter login buttons.
Not sure why it did this out of the blue, no updates or anything, but I have twitter disabled for the time being.
-
Facebook login continues to disappear. The plugin is enabled, and set, and was working, it just "goes away" after certain time. NodeBB has continued to run without a crash, nothing shows on logs. There is certainly a problem with the plugin--or something I can't pinpoint.
-
I'm currently running an older version (v.0.7.X) of NodeBB and SSO randomly disappears as well. Seems like when using a custom domain it requires a full-restart of the server software (outside NodeBB).
-
I lost my setting when updated from v0.7.x to v0.8.x
LOGG:
[cluster] Reloading...
23/9 18:48 [8171] - warn: [plugins/nodebb-plugin-sso-facebook] Hookfilter:user.delete
is deprecated, please use an alternative
23/9 18:48 [8171] - warn: [plugins/nodebb-plugin-sso-google] Hookfilter:user.delete
is deprecated, please use an alternative
23/9 18:48 [8171] - warn: [plugins/nodebb-plugin-sso-twitter] Hookfilter:user.delete
is deprecated, please use an alternativeSettings lost for facebook and twitter ? Migration issues ?
And Google sso wont work
LOGG
23/9 18:51 [8171] - error: /auth/google/callback
InternalOAuthError: failed to fetch user profile (status: 403 data: {
"error": {
"errors": [
{
"domain": "usageLimits",
"reason": "accessNotConfigured",
"message": "Access Not Configured. The API (Google+ API) is not enabled for your project. Please use the Google Developers Console to update your configuration.",
"extendedHelp": "https://console.developers.google.com"
}
],
"code": 403,
"message": "Access Not Configured. The API (Google+ API) is not enabled for your project. Please use the Google Developers Console to update your configuration."
}
}
)
at /server/www/production/nodebb.se/dev/v0.8.x/node_modules/nodebb-plugin-sso-google/node_modules/passport-google-oauth/lib/passport-google-oauth/oauth2.js:88:28
at passBackControl (/server/www/production/nodebb.se/dev/v0.8.x/node_modules/nodebb-plugin-sso-google/node_modules/passport-google-oauth/node_modules/passport-oauth/node_modules/passport-oauth2/node_modules/oauth/lib/oauth2.js:123:9)
at IncomingMessage.<anonymous> (/server/www/production/nodebb.se/dev/v0.8.x/node_modules/nodebb-plugin-sso-google/node_modules/passport-google-oauth/node_modules/passport-oauth/node_modules/passport-oauth2/node_modules/oauth/lib/oauth2.js:143:7)
at IncomingMessage.emit (events.js:117:20)
at _stream_readable.js:938:16
at process._tickCallback (node.js:419:13) -
"you will have to enter your credentials again" <-- Unable to migrate it? Will it be junk left in the database with the old configuration?
Thanks man!
Will check into this