Facebook SSO Plugin not working on Heroku
-
On the left sidebar on Admin control panel, Facebook appeared once under social plugins and it showed an error page when I clicked on it. I uninstalled it and now when I install it, reset NodeBB, and the plugin does not appear on control panel anymore, and when I go back to the plugins page, Facebook is not installed!
Well, now Facebook appears under Social Plugins. But when I click on it, this is the error I get:
Not Found
You seem to have stumbled upon a page that does not exist. Return to the home page. -
Ok, the problem with installation is the Ephemeral File System of Heroku. So, when after install, I actually reset the server, the plugins that are installed through the Control Panel get deleted. Solution: I installed it locally and added to package.json file. Then pushed it to server and now I get to see this dialog where I entered App ID and App Secret. Saved and restarted. But still I can not see anything in the login/register page to login with FB.
-
@navid go back to where you entered the app ID and secret, make sure they're still there, I've had the odd quirk of it not saving 100% of the time. Also make sure you've got no spaces in the fields. Once the id and secret look right, the icon will appear to the right of your login box.you won't need to restart nodebb for this bit, but make sure you're not viewing a cached page.
-
I just filed an issue with some of the problems I had to get NodeBB run on Heroku. Overall, it was not hard, but some clarifications could save time. I just documented the problems that I faced: https://github.com/NodeBB/NodeBB/issues/1714
-
@navid you can submit a pull request here to alter the documentation if you like.
File not found 路 NodeBB/NodeBB
Node.js based forum software built for the modern web - File not found 路 NodeBB/NodeBB
GitHub (github.com)