@julian I've done both. Thanks for the response.
I am trying to create an sso plugin for Patreon.com. I posted about this on the generic version of the plugin and Julian Lam told me to fork the google or facebook plugin. I have done so. Now it connects to patreon but I am getting a url mismatch error. Please see my fork for the code I am using: https://github.com/gwhrengineering/nodebb-plugin-sso-facebook/blob/master/library.js
I am unsure how to proceed from here. Any help would be greatly appreciated.