Update/Fetch tables with custom fields
Hi! I’m using Better Auth in a multi-tenant SaaS app. I have a
I noticed that Better Auth’s APIs (like
Is there any built-in way in Better Auth to fetch and update custom fields from custom tables (like
If there’s a recommended pattern or plugin for this use case, I’d love to know!
Member table, given by organisation plugin (separate from the core user table) that stores organization-specific fields for each user (like company email, designation, etc.).I noticed that Better Auth’s APIs (like
getActiveMember) only return the fields it knows about, and do not include any custom fields I’ve added to my Member table. I want to be able to fetch and update these custom fields through Better Auth, or at least have a recommended way to do this.Is there any built-in way in Better Auth to fetch and update custom fields from custom tables (like
Member), or do I have to create my own backend endpoints for this? If there’s a recommended pattern or plugin for this use case, I’d love to know!
