Skip to content

fix(hoverclient): browser-consistent headers on signin (anti-bot)#29

Merged
intel352 merged 1 commit into
mainfrom
fix/signin-browser-headers-2026-05-30T1945
May 30, 2026
Merged

fix(hoverclient): browser-consistent headers on signin (anti-bot)#29
intel352 merged 1 commit into
mainfrom
fix/signin-browser-headers-2026-05-30T1945

Conversation

@intel352
Copy link
Copy Markdown
Contributor

Adds the client-hint + fetch-metadata headers a real Chrome XHR sends (Sec-Ch-Ua, Sec-Fetch-Site/Mode/Dest, Accept-Language) to the signin requests + bumps the UA to Chrome 131, consistent with the macOS UA. A bare UA+Referer reads as a bot to Hover's signin protection (suspected cause of persistent 401 from automated runs). Regression test asserts the headers are present.

🤖 Generated with Claude Code

A bare UA + Referer reads as a bot to Hover's signin protection. Add the
client-hint + fetch-metadata headers a real Chrome XHR sends (Sec-Ch-Ua,
Sec-Fetch-Site/Mode/Dest, Accept-Language) consistent with the macOS Chrome
UA, and bump the UA to Chrome 131. Regression test asserts the key headers.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@intel352 intel352 merged commit 73d609a into main May 30, 2026
4 checks passed
@intel352 intel352 deleted the fix/signin-browser-headers-2026-05-30T1945 branch May 30, 2026 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant