Issue with incorrect verification endpoint and verification logic for BrandFetch #3469
Closed
Description
Please review the Community Note before submitting
TruffleHog Version
Trace Output
Expected Behavior
The API endpoint should point to v2
API with correct validation logic for token.
Reference : https://docs.brandfetch.com/reference/brand-api
Actual Behavior
Issue 1: Incorrect verification endpoint
Currently the API endpoint for verification points to https://api.brandfetch.io/v1/color
which is nowhere to be found on the brandfetch.io documentation. They have upgraded to v2
apis.
Issue 2: Incorrect validation logic
Currently the verification logic for the token is incorrect, which is according to the v1
APIs which doesn't work anymore.
Steps to Reproduce
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Environment
- OS: [e.g. iOS]
- Version [e.g. 22]
Additional Context
References
- #0000