Skip to content

Munchpass/gothquickbooks

Repository files navigation

Quickbooks goth Provider

An OAuth2 Code Flow Quickbooks goth provider. Inspired by the Fitbit Goth Provider.

See https://github.com/markbates/goth for more information.

Getting Started

go get github.com/munchpass/gothquickbooks

To use the provider:

// Initialize the provider
// (replace the apiCtx values with your own values)
goth.UseProviders(qb.New(apiCtx.QuickbooksClientId, apiCtx.QuickbooksSecret, apiCtx.QuickbooksRedirectUrl))

// Create your HTTP Handlers.
r.GET("/quickbooks/start", qb.OAuthStart)
r.GET("/quickbooks/callback", qb.OAuthCallback)

// You're done!
// Just go to /quickbooks to start the OAuth flow.

About

Goth OAuth Provider for Quickbooks

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages