"Email is missing" error with Generic OAuth2 plugin

I'm getting an error that the "Email is missing" when I sign-up using my generic oauth2 provider as the user endpoint returns only { accountId: string, displayName: string }.

Clerk handles this by presenting the user with another form in which they must enter their email, but I'm not seeing how to configure this with better-auth. Anyone have ideas?
Was this page helpful?