GitHub OAuth: user name can be null
The database schema sets the user name not to be null. However, in GitHub, the user name can be null. Will it cause a problem? I'm migrating from next-auth to better-auth.

3 Replies
name: text('name').default('Anonymous').notNull()
I end up using this.Solution
When can the name be null? what causes this?
Oh, my mistake. The name will never be null.