DEV Community

Discussion on: How to auto verify OTP on the web using the new Web OTP API?

Collapse
 
mhmdndri profile image
Mohammad Naderi

Yes, I solve it. The most important part is the text of the SMS. I deploy and test, and as he said in the article, it should contain the domain Address and the OTP code with #. remember you should use "navigator.credential.get " in the useEffect. I hope you can solve it, but If you can't, text me here to check your code together and solve it.

Thread Thread
 
suhasini_singyan_8aa3ad76 profile image
Suhasini Singyan

Hey can you help me with this. facing issue as it does ask for permission but doesn't paste the OTP.

Thread Thread
 
jyotishman profile image
Jyotishman Saikia

What issue are u getting? @suhasini_singyan_8aa3ad76