Connect Freshbooks to Auth0
Freshbooks setup
- Visit the Freshbooks Developer account page and sign up.
- Create a new app in the Freshbooks Developer Center
-
Configure the app details:
- Set an Application Name.
- Set the Redirect URI:
https://YOUR_AUTH0_DOMAIN/login/callback - Note: FreshBooks requires HTTPS for redirect URIs (except for local development).
You can find the Auth0 domain in the Auth0 Dashboard.You can find this under Applications > [Your Application] > Settings > Basic Information > Domain.If you are using the custom domains feature, your Auth0 domain is the custom domain. You can find this under Branding > Custom Domains. - Select the necessary Scopes (e.g., user:profile:read, user:clients:read, user:invoices:read, etc.)
- Save and copy the Client ID and Client Secret
Token Vault configuration example
To configure the Token Vault for your FreshBooks connection, you can use the following code snippet in your application:- JavaScript
- Python
Next steps
- To learn how to configure applications to access Token Vault, read Configure Token Vault.
- To learn how to get an access token to make a tool call, complete the Call other’s APIs on user’s behalf Quickstart.