token-budget-insight

command module
v0.0.0-...-1e63249 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 7, 2022 License: MIT Imports: 9 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL