BetterAuth Discord OAuth sets username as name instead of username, how to prevent this?

I’m using BetterAuth + Prisma and Discord OAuth.
When a user signs in with Discord, BetterAuth automatically sets the Discord username as user.name.

What I want instead:

username → Discord username

name → left empty / null

User is later prompted in the app to enter their real name manually
Was this page helpful?