overrideUserInfo? in GenericOAuth?
I see OAuth2 plugin got
overrideUserInfoOnLogin
and when seeing how that worked I noticed on GenericOAuth
there is the similarly named overrideUserInfo
which the interface describes as:
However when I try to use it I just get a blank screen on the callback, and the console says:
SERVER_ERROR: SqliteError: FOREIGN KEY constraint failedI use the default Kyseley, and tried to generate and migrate the database in case there were any changes, but it says none were needed. Thanks ๐
1 Reply
It appears to be solved in the latest beta: https://github.com/better-auth/better-auth/releases/tag/v1.2.8-beta.3
GitHub
Release v1.2.8-beta.3 ยท better-auth/better-auth
๐ Bug Fixes
drizzle-adapter:
Missing operators ย -ย by @ping-maxwell in #2408 (05770)
generic-oauth:
On link account make sure to match provider Id before updating existing account ย -ย by @B...