nodebb-plugin-appc
v0.2.1
Published
NodeBB Apppcelerator Plugin
Downloads
5
Readme
NodeBB Appcelerator SSO
NodeBB Plugin that allows users to login/register via their Appcelerator account using the AppC Passport strategy.
Pre-requisites for development
NodeBB needs to run under the same primary domain as the Dashboard for SSO.
Generate self-signed keys:
$ openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout keys/local.key -out keys/local.crt
Edit NodeBB's
config.js
to use SSL:{ "url": "https://nodebb.appcelerator.com:8443", // .. "port": 8443, "ssl": { "key": "keys/local.key", "cert": "keys/local.crt" } }
Edit your
/etc/hosts
:127.0.0.1 nodebb.appcelerator.com
Installation
Add the NPM package to your NodeBB install
$ npm install nodebb-plugin-appc --save
Activate the plugin via the NodeBB admin