API Organisation Types
Hi,
In the documentation, it only mentions using the authClient to interact with organizations, but I have a need to manage them from the backend. So I tried to see if something like auth.api.organization existed, but couldn't find any trace of it.
Could you point me in the right direction?
1 Reply
you can explore more on tests here - https://github.com/better-auth/better-auth/blob/main/packages/better-auth/src/plugins/organization/organization.test.ts
GitHub
better-auth/packages/better-auth/src/plugins/organization/organizat...
The most comprehensive authentication framework for TypeScript - better-auth/better-auth