• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
v3.5.2 Latest
Buy Hosting

Got error while implementing facebook login

Scheduled Pinned Locked Moved Solved Technical Support
loginoauthfacebook
2 Posts 1 Posters 2.6k Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Sameer YadavS Offline
    Sameer YadavS Offline
    Sameer Yadav
    wrote on last edited by Sameer Yadav
    #1

    Hi

    I've installed nodebb-plugin-sso-facebook plugin to enable Facebook sing-up/ login.

    I've updated app and secret key correctly in admin panel, also added website url in config.json file.

    Also restarted app after this.

    I'm getting following error while trying to singup from facebook singup button.

    error: /auth/facebook/callback
     FacebookTokenError: Error validating verification code. Please make sure your redirect_uri  is identical to the one you used in the OAuth dialog request
        at Strategy.parseErrorResponse (/node_modules/nodebb-plugin-sso-facebook/node_modules/passport-facebook/lib/strategy.js:198:12)
        at Strategy.OAuth2Strategy._createOAuthError (/node_modules/nodebb-plugin-sso-facebook/node_modules/passport-facebook/node_modules/passport-     oauth2/lib/strategy.js:345:16)
        at /node_modules/nodebb-plugin-sso-facebook/node_modules/passport-facebook/node_modules/passport-oauth2/lib/strategy.js:171:43
        at /node_modules/nodebb-plugin-sso-facebook/node_modules/passport-facebook/node_modules/passport-oauth2/node_modules/oauth/lib/oauth2.js:177:18
        at passBackControl (/node_modules/nodebb-plugin-sso-facebook/node_modules/passport-facebook/node_modules/passport-oauth2/node_modules/oauth/lib/ oauth2.js:123:9)
        at IncomingMessage.<anonymous> (/node_modules/nodebb-plugin-sso-facebook/node_modules/passport-facebook/node_modules/passport-oauth2/            node_modules/oauth/lib/oauth2.js:143:7)
        at IncomingMessage.emit (events.js:129:20)
        at _stream_readable.js:908:16
        at process._tickCallback (node.js:355:11)
    
    

    I'm running app on following setup.
    AWS - ec2
    nginx running on port 80
    NodeBB latest git master running on port 4567

    I think this error is cause of nginx

    Please provide some help to solve this.
    Thanks

    1 Reply Last reply
    0
  • Sameer YadavS Offline
    Sameer YadavS Offline
    Sameer Yadav
    wrote on last edited by
    #2

    My bad, this error was caused by extra / in config.json

    1 Reply Last reply
    0

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development