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
- Step 1 - 5 in First steps of the Bexio API Documentation: https://docs.bexio.com/
To make the example executable, the following environment variables must be filled in a .env
file:
CLIENT_ID
of the registered Bexio AppCLIENT_SECRET
of the registered Bexio App- Configured
REDIRECT_URL
of the registered Bexio App
- Start the example with
node index.js
- Open the Browser and request
http://localhost:3000