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
fix(auth): log OAuth callback errors and drop useless error={} redirect (#3506)
JSON.stringify on a native Error serialises to `{}` because message/stack are
non-enumerable, so the OAuth error redirect carried a useless `error={}` query
param and the failure was only visible via morgan's 302 access log.
Emit a structured logger.error() on both error and no-user branches so Sentry /
PostHog actually see OAuth failures, and put a URL-safe message (or code, or a
sensible fallback) in the `error=` query so the Vue error screen shows
something meaningful. Redirect path + status unchanged.
Closes#3495
0 commit comments