Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 729 Bytes

File metadata and controls

21 lines (13 loc) · 729 Bytes

Bexio Authorization Code Flow Example in Node.js / Express.js

This example shows the Authorization Code Flow with the Bexio API in Node.js and Express.js

Documentation: https://docs.bexio.com/#section/Authentication/Authorization-Code-Flow

Prerequisites

Configuration

To make the example executable, the following environment variables must be filled in a .env file:

  • CLIENT_ID of the registered Bexio App
  • CLIENT_SECRET of the registered Bexio App
  • Configured REDIRECT_URL of the registered Bexio App

Run the example

  1. Start the example with node index.js
  2. Open the Browser and request http://localhost:3000