Files
better-auth/packages
Bereket Engida 892bdd6bbc fix(oauth): log OAuth token-exchange failures with provider context
validateAuthorizationCode failures were logged with an empty message
and no provider id, and a provider that answers 200 with an error
body (Slack `{ok:false,error:"invalid_code"}`, or an
`error`/`error_description` pair) produced no log at all until the
unrelated getUserInfo step failed later. Add the provider id to the
catch-site log message and log when a resolved token set has neither
accessToken nor idToken, using only the provider-supplied error
fields (never the raw token response, which may carry secrets).
2026-09-30 07:42:06 -07:00
..
2026-09-24 15:46:09 +00:00
2026-09-24 15:46:09 +00:00
2026-09-24 15:46:09 +00:00
2026-09-24 15:46:09 +00:00
2026-09-24 15:46:09 +00:00
2026-09-24 15:46:09 +00:00
2026-09-24 15:46:09 +00:00
2026-09-24 15:46:09 +00:00
2026-09-24 15:46:09 +00:00
2026-09-24 15:46:09 +00:00
2026-09-24 15:46:09 +00:00
2026-09-24 15:46:09 +00:00