Now like as a mobile application we can auto read otp from the sms in web applications and PWA (Progressive Web App ) also.
We are integrating this functionalityin angular application.
As describe in this url: click here
Send a msg from any mobile whose number is not saved in your mobile phone (phone in which functionality testing).
MSG format should be same as below: Your OTP is: 123456. @rohit3230.github.io #12345