Customizing Sign up flow

Hi guys! I want to customize my sign up flow. What I want to do is after the user signs up, it would run a custom logic, in this case it would create an initial workspace for them. I already have the logic for creating a workspace as a separate step, but what I want to do is automatically create this after the user signs up.
3 Replies
Ping
Ping7d ago
Database | Better Auth
Learn how to use a database with Better Auth.
Ping
Ping7d ago
Use the after hook to on the user, and from there, create the workspace.
josh-dev627
josh-dev627OP7d ago
Thanks @Ping !

Did you find this page helpful?