Kasszz
BABetter Auth
•Created by Kasszz on 3/25/2025 in #bug-reports
The getFullOrganization() members.user type doesn't include id: string but the data does

1 replies
BABetter Auth
•Created by Kasszz on 3/22/2025 in #help
The organization plugin only a select number of server versions of the sdk?
Hello, I'm new here so sorry if I do something incorrectly 🙂
I'm coming from auth.js to better-auth and I really like the library so thanks for making it!
Now my question(s). Is it true that some endpoints for the organization plugin are only made for the client version of the SDK?
Like for example: update and delete organization?
And what is your stance on trying to do everything via the server. In my mind that is the saver route. So that you can do some validation on the server because you can never trust what the client does.
Like for example: creating a new org, making sure it doesn't exists or that the user have the not gone over the limit etc.
Hope someone can help me with these questions,
Thanks 🙂
3 replies