So the question was originally asked as a part of the UX question here.
My question is that, Are there any security risks involved when I auto-submit the OTP? Currently, I'm limiting the number of verification attempts from the backend side.
What are the points that one should keep in mind while auto-submitting the OTP? I'm designing the app for the mobile platform.