- register app with procore to:
- get a client_id and client_secret
- register redirect uris where this app will receive OAuth callbacks after successful oauth request
- Copy
.env.example
to.env
and update values with your credentials
bundle install
foreman start
open http://localhost:5000
docker build -t proauth .
docker run -p 5000:5000 proauth
open http://localhost:5000
APP_NAME=chose_an_app_name \
heroku create ${APP_NAME}\
&& git push heroku \
&& heroku config:set PROCORE_CLIENT_SECRET=xxx \
&& heroku config:set PROCORE_CLIENT_ID=XXX \
&& heroku config:set PROCORE_API_URL=https://app.procore.com \
&& heroku config:set PROCORE_OAUTH2_REDIRECT_URI=https://${APP_NAME}.herokuapp.com/callback \
&& heroku open
heroku logs --tail
Or, click this button to setup a heroku app:
The gem is available as open source under the terms of the MIT License.
Manage Version is maintained by Procore Technologies.
Procore - building the software that builds the world.
Learn more about the #1 most widely used construction management software at procore.com