Code Examples
Create a User with Email Only
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.
1
Initialize Turnkey
2
Configure the Sub Organization for the User
3
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.