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
2 Replies
Ping
Ping7d ago
Hey yeah that's not developed just yet, we recommend creating an org on sign-up by using database hooks
SkepticMystic
SkepticMysticOP7d ago
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

Did you find this page helpful?