cooperlyt / keycloak-phone-provider

A Keycloak provider for phone and SMS
MIT License
252 stars 147 forks source link

Issue with OTP Autofill on Registration Page #108

Open bernie-belcher opened 1 month ago

bernie-belcher commented 1 month ago

I am experiencing an issue with the OTP autofill feature during user registration. When the OTP is sent, the code does not immediately appear on the keyboard for pasting. Users need to close and reopen their keyboard for the code to appear. This problem is specific to the registration page; the login and forgot password pages correctly add the OTP code to the keyboard as soon as the message is received.

I need the registration page to behave consistently with the login and forgot password pages, where the OTP code appears on the keyboard immediately upon receipt. Users should not have to close and reopen the keyboard for the code to display.

I have attached a video demonstrating this issue.

https://github.com/cooperlyt/keycloak-phone-provider/assets/171604947/85f4d0cf-8f24-4f2b-94b3-d9ad988913c6