Use the Authentication API to register and login members to a Wix Headless site or app.
To learn more about the registration and login process, see Handler Members with Custom Login.