Google, Facebook and Twitter SSO gone



  • Yesterday I configured all the SSO on my test install (new, fresh install, 0.8.1). They were working perfectly (minus the little oddities on the plugin configuration screens that I have mentioned in other posts) when I went to sleep. This morning, none of the show, only GitHub remains.

    I went to the plugins administrative pages, saved them again, reload, restarted, stop, started NodeBB to no avail. Would anyone have an explanation as to what could have happened and is happening?



  • I wonder where could I report this. It seems the plugins are not fully up-to-date, but it could also be something in the core. What should I do? Report each plugin individually, or post the issue under core?


  • Admin

    As far as I know, the main ones (that is, fb, g+, tw) are all updated and work with NodeBB v0.8.0... do you see any errors in the console when you start up NodeBB?



  • @julian no errors. They install fine. I configured them, no problem (there are some cosmetic issues, at least under Persona, but not a show stopper). They were working fine last night. This morning I was only seeing Github. Checked and the others were still enabled. I have since disabled and re-enabled them, reload/stopped NodeBB. to no avail.

    On the login screen, when I refresh, I can see the bullets for each of them, but they rapidly disappear.



  • An update on this. I just found out that uBlock was the culprit behind not seeing the SSOs. Right now I can see all, but Facebook (with uBlock disabled). Trying to troubleshoot Facebook to see what is happening.



  • 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.


  • Admin

    @tfraley Which version of the Twitter plugin? Does using the latest version help?



  • 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.


  • Admin

    You said with the Google SSO plugin disabled, the other 2 show, right? Possibly the same issue exists for the Google plugin...



  • 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 am also experiencing this Issue and are interested in the solution of this.

    @julian Could it be that the problem is caused by using /auth/google/callback instead of /oauth2callback in the callbackURL?


  • Swedes

    @julian

    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] Hook filter:user.delete is deprecated, please use an alternative
    23/9 18:48 [8171] - warn: [plugins/nodebb-plugin-sso-google] Hook filter:user.delete is deprecated, please use an alternative
    23/9 18:48 [8171] - warn: [plugins/nodebb-plugin-sso-twitter] Hook filter:user.delete is deprecated, please use an alternative

    Settings 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)


  • Admin

    For Google you need to enable Google Plus API in your API settings, for the rest of the plugins we updated the admin panel, you will have to enter your credentials again


  • Swedes

    "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 🙂


  • Admin

    Not impossible, just not worth the effort. The values are contained in the config hash, so if you want to clear it, you can go in and remove them manually...


Log in to reply
 


Looks like your connection to NodeBB was lost, please wait while we try to reconnect.