Freshbooks Refresh Token
Description
The source code repository contains sensitive information: FreshBooks Refresh Token
Detection Strategy
• Matches FreshBooks Refresh Token patterns in source code and configuration files
Vulnerable code example
FRESHBOOKS_REFRESH_TOKEN=f8cddb919412989a72918f55a8fe31f36f353d409e018781d0f59c44e1e59e03
export FRESH_BOOKS_REFRESH_TOKEN="0ba22fec6616365569638d8d82ff99f689746e866c75fa3ff4ae55f10aac2930"
freshbooks:
client_id: 943f08ec5a6797f579e2682103868216f2d00a64faf0fb36e8257c8acceebfc6
refresh_token: 2c7e9a4f1b9d3065c2e7a9f4b1d8c3062e7a9c4f1b8d3065c2e7a9f4b1d8c306
curl -X POST https://api.freshbooks.com/auth/oauth/token -H 'Content-Type: application/json' -d '{"grant_type": "refresh_token", "client_id": "943f08ec5a6797f579e2682103868216f2d00a64faf0fb36e8257c8acceebfc6", "refresh_token": "9e4b1d7a3c9f2065e9b4d1a7c3f8206e9b4d1a7c3f8e2065b9d4a1e7c3f82065", "redirect_uri": "https://example.com/cb"}'
from freshbooks import Client
...Free trial
Search for vulnerabilities in your apps for free with Fluid Attacks' automated security testing! Start your 21-day free trial and discover the benefits of the Essential plan. If you prefer the Advanced plan, which includes the expertise of Fluid Attacks' pentesting team, fill out this contact form.