Question: how otp generation and verification works?
Answer: User enters the username and password. Request sent to backend. Username and password matched. User receives OPT via SMS. User enters OPT and login to the site.