[PR #5676] fix: generic oauth mapProfileToUser bug #14399

Closed
opened 2026-04-13 09:27:20 -05:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/better-auth/better-auth/pull/5676

State: closed
Merged: No


This PR is just here for testing purposes. Not a real PR!


Summary by cubic

Added debug logging in Generic OAuth to trace mapProfileToUser and userInfo during account linking and user creation, showing raw provider data and the sanitized version (without id). Updated Drizzle adapter deleteMany to return the affected row count and log an error if the result shape is unexpected.

Written for commit 269027c. Summary will update automatically on new commits.

**Original Pull Request:** https://github.com/better-auth/better-auth/pull/5676 **State:** closed **Merged:** No --- # This PR is just here for testing purposes. Not a real PR! <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Added debug logging in Generic OAuth to trace mapProfileToUser and userInfo during account linking and user creation, showing raw provider data and the sanitized version (without id). Updated Drizzle adapter deleteMany to return the affected row count and log an error if the result shape is unexpected. <sup>Written for commit 269027c. Summary will update automatically on new commits.</sup> <!-- End of auto-generated description by cubic. -->
GiteaMirror added the pull-request label 2026-04-13 09:27:20 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#14399