Skip to content

Commit ecd99be

Browse files
authored
Merge pull request #2 from datadotworld/heroku_documentation
Heroku documentation
2 parents 2dd568e + fccc768 commit ecd99be

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
This is a single button Heroku deployable OAuth application to be used in conjunction with data.world integrations. Often integrations can be static applications, so adding OAuth capabilities can be challenging. This project streamlines that process.
22

3-
To deploy the application to Heroku, simply press the Deploy button below. Some minor configuration changes must be made afterwards. These include setting your data.world client_id, client_secret, and redirect_uri. The client_id and client_secret will be the ones provided to you by data.world. The redirect_uri is actually dependent on the heroku instance name.
3+
To deploy the application to Heroku, simply press the Deploy button below. Some minor configuration changes must be made afterwards. These include setting your data.world client_id, client_secret, and redirect_uri. The client_id and client_secret will be the ones provided to you by data.world. The redirect_uri is actually dependent on the heroku instance name. They will be available for modification on the Heroku application setup before the application is deployed.
44

55
For instance, if Heroku deploys your application to https://test-single-button-deploy.herokuapp.com then your redirect_uri will be https://test-single-button-deploy.herokuapp.com/callback
66

7+
##### Example Configuration Screenshot
8+
![Alt text](/docs/heroku_configuration.png?raw=true "Heroku Configuration Screenshot")
9+
710
Finally, the endpoint environment variable `CONNECTOR_REDIRECT` will need to be configured as well. This is the URL within your application that will receive the long-term token upon successful authentication.
811

912
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)
1013

14+

docs/heroku_configuration.png

148 KB
Loading

0 commit comments

Comments
 (0)