https://github.com/mpguerra/address-book-app-api-gateway
- Clone repo:
git clone [email protected]:mpguerra/user-goals-oauth-api-gateway.git <NEW REPO NAME>
heroku apps:create --buildpack http://github.com/leafo/heroku-buildpack-lua.git <APP NAME>
heroku addons:add redistogo
heroku addons:add threescale
git push heroku master
- Open up 3scale admin console
heroku addons:open threescale
- Get service_id and set environment variable
heroku config:set THREESCALE_SERVICE_ID={SERVICE_ID}
- Change auth mode
- Create new account
- Set redirect url to:
https://www.getpostman.com/oauth2/callback
if using POSTMAN.
- Get access token using POSTMAN
- Get user data for user identified by access token