Logs in or registers a customer using Stytch authentication. Uses the loginCustomerSchema validation from the backend.
methodId
returned is required for the subsequent OTP verification step. The created
field indicates whether this is a new user registration (true
) or existing user login (false
).Successful login or registration.
The response is of type object
.