This example demonstrates how to create a sub organization using just an end-user’s email: passkeys not required! Note that this flow does not require emails to be verified.
Initialize Turnkey
Configure the Sub Organization for the User
Call createSubOrganization from your backend
This is all that is needed to create a user without any authentication credential other than their email address, in the login flow you can see how to then authenticate the user after their subOrganization
is created.
This example demonstrates how to create a sub organization using just an end-user’s email: passkeys not required! Note that this flow does not require emails to be verified.
Initialize Turnkey
Configure the Sub Organization for the User
Call createSubOrganization from your backend
This is all that is needed to create a user without any authentication credential other than their email address, in the login flow you can see how to then authenticate the user after their subOrganization
is created.