Head of Product & Engineering ad2682c55d
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
fix: guard against empty locationId in OAuth callback and log token fields
GHL returns an empty locationId when the user authorizes at agency level
instead of selecting a specific sub-account location. Without this guard
the token was silently stored under an empty key, making every subsequent
webhook fail with "no token for location".

Also logs location_id/company_id/user_type from the token response to
make future OAuth install debugging easier.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-04-06 01:15:27 +02:00
2026-04-04 14:57:29 +00:00

cast-ghl-plugin

Description
No description provided
Readme 314 KiB
Languages
Go 98.4%
Shell 0.9%
Dockerfile 0.7%