organization.autoCreateOrganizationOnSignUp doesn't seem to do anything
Hi there
I'm trying to create an org for users on signup. I saw this flag in the plugin config, but it doesn't seem to actually do anything. I signup, verify my email, but not org or member is created
5 Replies
Hey yeah that's not developed just yet, we recommend creating an org on sign-up by using database hooks
Alright, thanks for the recommendation!
This this gets into the other support thread I opened.
How do I use the better-auth api methods inside the 
auth setup? TS shouts about the variable referencing itself
How exactly?? Use the db orm directly? That feels wrong. And there isn't a createOrganization method on ctx either@Max do you have a proposed solution for this problem?
@SkepticMystic @Ata Sanchez Auth.api shouldn't have any issues.

Makes sense, I got auth.api working inside hooks. I think TS just hadn't caught up yet, so it was shouting