Facebook and Twitter SSO

NodeBB Plugins

Suggested Topics


  • 0 Votes
    2 Posts
    134 Views

    @CherryDT Nope, it is fixed now 😄 v2.2.2

    Cannot save settings · Issue #12 · julianlam/nodebb-plugin-sso-wordpress

    Clicking the save icon in the admin settings for the plugin does nothing. In the developer console I see this error: app.js:146 error loading admin/plugins/sso-wordpress Error: Cannot find module './plugins/sso-wordpress' at eval (webpac...

    favicon

    GitHub (github.com)

  • 2 Votes
    1 Posts
    1k Views

    Above all,I haven't done i18n. It only support Chinese now . I'm welcome if you want to translate it to your language.

    Github repo: https://github.com/a632079/nodebb-sso-wechat-web compatible
    This plugin allow you login via the qrcode of wechat. First , you should apply for a website app in WeChat Open Platform .And then use the appId and appSecret that you get from the platform for setting in ACP.

    Install

    Search nodebb-plugin-sso-wechat-web in ACP and install it.

    Some good features

    Some Oauth App don't offer email , so we require users to perfect their email setting.(Thanks for sso-facebook)
    0_1508059973005_cb7d04c5-a282-412d-846f-2fc5297169ed-图片.png

    Support use the WeChat Avatar as your profile avatar. (Thanks for gravatar)
    0_1508060059987_32e58176-5d3e-46e3-9ee4-e47feab0bc18-图片.png

  • 0 Votes
    2 Posts
    2k Views

    Ok, so far I've got it to work using passport-facebook-token and changing julian's sso-facebook plugin:

    FacebookTokenStrategy = require('passport-facebook-token'),

    and changing:

    passport.use(new passportFacebook({

    to

    passport.use(new FacebookTokenStrategy({

    Also:

    strategies.push({ name: 'facebook', url: '/auth/facebook', callbackURL: '/auth/facebook/callback', icon: constants.admin.icon, scope: 'email, user_friends' });

    to

    strategies.push({ name: 'facebook-token', url: '/auth/token', callbackURL: '/auth/token/callback', icon: constants.admin.icon, scope: 'email, user_friends' });

    I'm able to log into my account but I get this error:

    0_1499144571635_Screen Shot 2017-07-04 at 00.02.37.png

    Why is the route not found?

  • 0 Votes
    13 Posts
    6k Views

    i also added this code to load default preferences (inside the "success" function when creating a new user)

    User.setSetting(uid, 'dailyDigestFreq', 'week', null); User.setSetting(uid, 'notificationSounds', 1, null); User.setSetting(uid, 'followTopicsOnCreate', 1, null); User.setSetting(uid, 'followTopicsOnReply', 1, null); User.setSetting(uid, 'sendChatNotifications', 1, null);
  • 5 Votes
    9 Posts
    4k Views

    The plugin is no longer supported?