A sample express app for oneauth (https://github.com/coding-blocks/oneauth) Live Demo : https://oneauth-example-abhishek97.c9users.io/
Requires node and npm installed.
npm install
npm run request
to run Simple request versionnpm run passport
to run passport oauth version- Get
client_id
,client_secret
from registering your client at https://account.codingblocks.com - Setup variable in
config.json
, if you are running on localhost, callback url must behttp://localhost:8080/callback
. node index.js