You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replace hCaptcha hostname security check with informational telemetry
Per hCaptcha docs, the hostname field in siteverify responses is
browser-derived and must not be used for authentication. Remove
ExpectedHostname from CaptchaOptions and stop failing captcha
verification on hostname mismatch.
Instead, log ReportedHostname and ExpectedHostname (derived from
SiteSettings.BaseUrl) as structured properties on every successful
verification. This enables App Insights / Log Analytics queries to
bucket hostname distributions for diagnostics without blocking users.
HCaptcha__ExpectedHostname env var can now be removed from all
deployed environments.
0 commit comments