A Sane Stack Addon giving you basic OAauth2-JWT authentication for the full stack
If you want to to test this addon you first need to install the latest sane-cli with addon support:
npm install -g sane-cli@beta
Then within your SANE project:
sane install sane-auth
For the latest usage documentation, version information, and test status of this module, see http://node-machine.org/sane-auth. The generated manpages for each machine contain a complete reference of all expected inputs, possible exit states, and example return values. If you need more help, or find a bug, jump into Gitter or leave a message in the project newsgroup.
git clone <repo>
# customize/improve sane-auth
npm link
cd your-sane-project-folder/
npm link sane-auth
sane generate sane-auth
This is a machinepack, an NPM module which exposes a set of related Node.js machines according to the machinepack specification. Documentation pages for the machines contained in this module (as well as all other NPM-hosted machines for Node.js) are automatically generated and kept up-to-date on the public registry. Learn more at http://node-machine.org/implementing/FAQ.
MIT © 2015 contributors