The LoginModal is provided using @pay3/react-ui which exposes a React Component which will open up the Login flow for the app/dApp.
The login modal has options to use Email OTP, Phone OTP, Social Logins, or Wallet Login
Email OTP Login uses the user's email ID to log the user in using a 6-digit OTP sent over to the user's email ID. This will authenticate the user's email Id and logs the user in.
Phone OTP Login uses the user's phone number to log the user in. A 6-digit OTP will be sent over to the user's phone number which has to be verified to create the user's wallet address and logs the user in.
Social Logins include functionalities to sign in using Google, Twitter, Twitch, or Discord. These sign-in methods will create a wallet for the user.
Wallet Login has options for the user to connect their Metamask wallet, Coinbase wallet, or any other mobile/browser wallet supported by Wallet Connect.