Skip to content

AEnguerrand/token-budget-insight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

token-budget-insight

This small tool aims to automate the creation of the long-term token for a Budget Insight application; the process is explain in the Budget Insight API docs. It's planned to be run locally and exposed with a tunnel system, like ngork.

Usage

First, an account and application are required on Budget Insight. Also, your callback URI need to be defined inside your app client configuration. More information here.

go build
./token-budget-insight -domain <domainName> -clientid <clientID> -yourcallbackuri <hostname>/callback -clientsecret <clientSecret>

After opening your web browser on localhost:8080, click on the WebView link and select your account inside the Budget Insight WebView then the token is displayed inside your page or your terminal. This access token is a long term token, more detail here.

Example (with fake values)

go build
./token-budget-insight -domain test45-sandbox  -clientid 12548 -yourcallbackuri https://website.com/callback -clientsecret fsfefR4fRghop5

About

Get the long-term token for the Budget Insight API (sandbox)

Topics

Resources

Stars

Watchers

Forks

Languages