auto-creating organization on user signup?
Has anyone managed to do this? Want to ensure users always have an org, i.e. a personal tenant even on signup. I did this through the UI but its pretty clunky. I tried this already:
3 Replies
Like is there a feature for setting default organization for every login?
@bekacru I want to know use session create before hook like this for set organization after every sign in
@bekacru I want to know use session create before hook like this for set organization after every sign in
sorry yes after wrapping a try/catch i realized the issue is with the set active, will try that, thanks
Hi @Sean Drumm
When you do the
auth.api.createOrganization
inside the after user create hook, don't you have 401 (unauthorized) issues? Currently trying to do the same but without any success