Last modified:2025-05-12 23:57:12
This endpoint is used to authenticate or register a user based on their current status. If the user is already registered and exists in the system, they will be logged in. Otherwise, if the user is not registered, they will be prompted to complete the registration process. The response from this endpoint will provide the next action that the user should take, either entering their password if they have previously set one, or entering the OTP (One-Time Password) that has been sent to their phone or email, depending on the value of the via
parameter.