HubSpot-nodejs oauth sample app

August 24, 2023 ยท View on GitHub

An Express server implementation

Requirements

  1. Node v10+
  2. Redirect url configured to http://localhost:3000/oauth-callback
  3. Configured .env file

Running

  1. Install dependencies
npm install
  1. Run the application
npm run dev

You should now be able to navigate to http://localhost:3000 and use the application.

Configure OAuth

Copy redirect url from login page and designate this on your app's Auth settings page.

Contents

  1. 1Requirements
  2. 2Running
  3. 3Configure OAuth