how do you run a function after user creation?
i want to create a personal organization for users by default
1 Reply
Take a look into database hooks:
https://www.better-auth.com/docs/concepts/database#2-after-hook
Database | Better Auth
Learn how to use a database with Better Auth.