Skip to content

Better Auth origin validation improvements

← Back to all
  • Infrastructure

Added stricter origin validation for Better Auth, preventing Invalid Origin errors on Vercel deployments. The adjustment simplifies the origin checking logic during initial login and session establishment. This change reduces noise from invalid origin error logs. Related tickets include HTPR-7239 and duplicate fixes HTPR-7244 through HTPR-7247.</body