[nodebb-plugin-sso-github] Github SSO plugin
-
https://github.com/designcreateplay/NodeBB/commit/c16f04bbcf376217d74dddd9d0ce39d6695836e9
https://github.com/designcreateplay/NodeBB/commit/51b38c4c55da11191bdffc01f74b3756d709f79c
these are the two hooks of importance for the above plugin
-
@psychobunny I’m new to NodeBB, and have just set up a forum. I’d like to use you plugin for GitHub auth, but have run into an issue:
When I click the save button, there’s no notification that it worked, and when I go back to the page, it seems to have gotten rid of my keys. I’ve tried restarting from the NodeBB dashboard and with rhc tools, but I haven’t gotten it to work.
After trying for a few times, I installed the google sso plugin and succeeded in getting Google auth working; it also removes the keys from the form, but it gives a save notification and seems to work.
Do you have any suggestions, or have I overlooked something ridiculously obvious?
Thanks!
-
@julian Ah, I don’t know why I didn’t think of that. When I go to the GitHub page under social authentication, I get
Uncaught TypeError: Cannot read property 'prepare' of undefined
fromgithub:208
This doesn’t appear on the google page. Line 208 of admin.tpl seem to berequire(['forum/admin/settings'], function(Settings) { Settings.prepare(); });
Also, on all pages (including the homepage of the forum) I get
Error during WebSocket handshake: Unexpected response code: 502
, but that doesn’t seem to be the issue.Thanks for your help.