Facebook Oauth

Solved Technical Support

Suggested Topics

  • 0 Votes
    12 Posts

    Thanks a lot everybody for the contributions to this discussion!

    Your recommendations were all useful to better understanding the plugin and finally realise a prototype against 10Duke.

    Cheers, R

  • 1 Votes
    3 Posts

    @h7 Thanks, this helped, in my case with no need to make the app public. It's still "In Development", but working.

    The settings at Facebook for Developers are like the following:

    Settings > Basic

    Display Name: Example Community Login App Domains: example.com Contact Email: [email protected] Privacy Policy URL: https://example.com/privacy/ Category: Some category Site URL: https://example.com/community/

    Facebook Login > Settings

    [yes] Client OAuth Login [yes] Web OAuth Login [no] Force Web OAuth Reauthentication [yes] Use Strict Mode for Redirect URIs [yes] Enforce HTTPS [no] Embedded Browser OAuth Login Valid OAuth Redirect URIs: https://example.com/community/auth/facebook/callback [no] Login from Devices

    Well, not sure if all this is needed, but after many tests it's working this way.

    There is also the interesting video Facebook SSO for NodeBB - YouTube, which is helpful although not complete.

  • 0 Votes
    3 Posts

    Is there any progress on this, as I am also interested in using Drupal with NodeBB.

  • 0 Votes
    18 Posts

    Now ive managed to get this error:

    11/11 04:38 [17046] - error: TypeError: Cannot call method 'trim' of undefined
    at Object.User.create (/var/www/html/forum/nodebb/src/user/create.js:17:33)
    at /var/www/html/forum/nodebb/node_modules/nodebb-plugin-sso-facebook/library.js:160:12
    at try_callback (/var/www/html/forum/nodebb/node_modules/redis/index.js:573:9)
    at RedisClient.return_reply (/var/www/html/forum/nodebb/node_modules/redis/index.js:661:13)
    at ReplyParser.<anonymous> (/var/www/html/forum/nodebb/node_modules/redis/index.js:309:14)
    at ReplyParser.emit (events.js:95:17)
    at ReplyParser.send_reply (/var/www/html/forum/nodebb/node_modules/redis/lib/parser/javascript.js:300:10)
    at ReplyParser.execute (/var/www/html/forum/nodebb/node_modules/redis/lib/parser/javascript.js:203:22)
    at RedisClient.on_data (/var/www/html/forum/nodebb/node_modules/redis/index.js:534:27)
    at Socket.<anonymous> (/var/www/html/forum/nodebb/node_modules/redis/index.js:91:14)
    [cluster] Child Process (17046) has exited (code: 1, signal: null)
    [cluster] Spinning up another process...
    11/11 04:38 [17061] - info: Time: Wed Nov 11 2015 04:38:27 GMT-0500 (EST)
    11/11 04:38 [17061] - info: Initializing NodeBB v0.9.0

    11/11 04:38 [17061] - warn: [plugins/load] The following plugins may not be compatible with your version of NodeBB. This may cause unintended behaviour or crashing. In the event of an unresponsive NodeBB caused by this plugin, run ./nodebb reset -p PLUGINNAME to disable it.

    nodebb-plugin-composer-default nodebb-plugin-markdown nodebb-plugin-mentions nodebb-widget-essentials nodebb-rewards-essentials nodebb-plugin-soundpack-default nodebb-plugin-spam-be-gone nodebb-plugin-gravatar-extended nodebb-plugin-sso-facebook nodebb-plugin-youtube-lite nodebb-theme-persona

    11/11 04:38 [17061] - info: [plugins/spam-be-gone] Settings loaded
    11/11 04:38 [17061] - info: NodeBB Ready
    11/11 04:38 [17061] - info: NodeBB is now listening on

  • 1 Votes
    6 Posts

    Solution for me:

    --- a/src/meta/tags.js +++ b/src/meta/tags.js @@ -29,6 +29,9 @@ module.exports = function(Meta) { property: 'og:site_name', content: Meta.config.title || 'NodeBB' }, { + property: 'og:type', + content: 'website' + }, { name: 'keywords', content: Meta.config.keywords || ''