What are best solutions for hold OTP
I want to create a no password system so user login with email and i sent verification code to the user.
- user enter email and send request
- server check email if exist send the otp number to user’s email
- server need hold otp number so later on compare with user number
i want to now in the server side what is the best solution for hold otp code db, file, etc
I want to achieve best security and speed for APIs.