To run the examples in your development environment:
- Clone this repo
- Run
npm install
- From the root of your repository, start the development server with
npm start
. - Point your browser to http://0.0.0.0:8080/
- Clone this repo
- Run
npm install
- Create an app in the App console.
- Set a redirect URI "http://localhost:3000/auth" on the app's page on the App console.
- Set app key and secret in
examples/javascript/code_flow_example.js
on lines 17 and 18. - Run
node examples/javascript/code_flow_example.js
- Point your browser to http://0.0.0.0:3000/