Sha256: 4a6396cdbb463c29a611f622bb7f2132c4eddcb2e6678324d94371d74c66e547
Contents?: true
Size: 1.86 KB
Versions: 22
Compression:
Stored size: 1.86 KB
Contents
# HubSpot-ruby sample OAuth 2.0 app This is a sample app for the [hubspot-ruby SDK](../../../../) Please see the documentation on [How do I create an app in HubSpot?](https://developers.hubspot.com/docs/faq/how-do-i-create-an-app-in-hubspot) ### HubSpot Public API links used in this application - [Initiate an Integration with OAuth 2.0](https://developers.hubspot.com/docs/methods/oauth2/initiate-oauth-integration) - [Get OAuth 2.0 Access Token and Refresh Tokens](https://developers.hubspot.com/docs/methods/oauth2/get-access-and-refresh-tokens) - [Refresh OAuth 2.0 Access Token](https://developers.hubspot.com/docs/methods/oauth2/refresh-access-token) - [Search contacts](https://developers.hubspot.com/docs-beta/crm/search) ### Note on Application Scopes HubSpot provides a way to restrict application users access to the system to certain scopes. In order to do that it is a good practice to make a set of scopes required by your applicatuion. Please refer to [Initiate an Integration with OAuth 2.0](https://developers.hubspot.com/docs/methods/oauth2/initiate-oauth-integration) for documentation on the scope parameter passed to https://app.hubspot.com/oauth/authorize to make a set of scopes required. [Scopes](https://developers.hubspot.com/docs/methods/oauth2/initiate-oauth-integration#scopes) explains how to make optional scopes and talks about scopes available in HubSpot system ### Setup App Make sure you have [Docker Compose](https://docs.docker.com/compose/) installed. ### Configure 1. Copy .env.template to .env 2. Paste your HUBSPOT_CLIENT_ID and HUBSPOT_CLIENT_SECRET ### Running The best way to run this project (with the least configuration), is using docker compose. Change to the webroot and start it ```bash docker-compose up --build web``` You should now be able to navigate to [http://localhost:3000](http://localhost:3000) and use the application.
Version data entries
22 entries across 22 versions & 1 rubygems
Version | Path |
---|---|
hubspot-api-client-2.0.0 | sample-apps/oauth-app/README.md |
hubspot-api-client-1.0.1 | sample-apps/oauth-app/README.md |