thecity-plugin
NPM module for decrypting oauth data for The City iframe plugins.
https://api.onthecity.org/docs/
Installation##
npm install thecity-plugin
Usage##
Require the module, and then initialize an instance of TheCityPlugin with your app's oauth secret:
var TheCityPlugin = ;var thecity_plugin = CITY_APP_SECRET;
Then in your server, setup a POST route for The City to post the encrypted data to:
var express = ;var app = ; app; app; app;