Questions tagged [sms-verification]

67 questions
28
votes
4 answers

How to resend SMS verification in Firebase Phone Authentication Android?

According to Firebase documentation (https://firebase.google.com/docs/auth/android/phone-auth#send-a-verification-code-to-the-users-phone), there is callback for handling the phone number authentication. mCallbacks = new…
7
votes
1 answer

where to save the verification code sent to the user for signing up

I'm somehow new to Django and it's my first time to implementing a signUp form with sms verification. I get the user mobile number and generate a random number and send to him; I want the generated code to be expired after 30 minutes and after that…
Far
  • 420
  • 5
  • 14
6
votes
2 answers

Auto-detecting verification code of firebase auth is not working

I am working on an flutter app that requires to verify users mobile number by sending an OTP. I am using Firebase phone authentication for this purpose. Everything working fine till I upload the app to play store. After uploading the app to the play…
5
votes
4 answers

How to achieve this UITextField layout/design used for SMS Verification Code?

I am trying to achieve the following functionality for SMS Verification code. How would I achieve it? After looking into a bunch of libraries in Github, none was similar enough to this design, which is widely used in the industry. I tried…
rgoncalv
  • 5,825
  • 6
  • 34
  • 61
4
votes
1 answer

SMS verification with Android SmsRetrieverClient not parsing message

Tried to implement SMS auto-reading for verification following the steps here: https://developers.google.com/identity/sms-retriever/request 1) declared lateinit var smsRetrieverClient: SmsRetrieverClient private lateinit var smsReceiver:…
Demonick
  • 2,116
  • 3
  • 30
  • 40
4
votes
1 answer

android sms verification without READ_SMS permission

I know that with Android O, now we can read SMS verification without requiring READ_SMS permission. It could be done using createAppSpecificSmsToken API.But I need a complete example to demonstrate whole of SMS verification routine.
Fartab
  • 4,725
  • 2
  • 26
  • 39
3
votes
1 answer

iOS oneTimeCode not working on some devices

onetimecode-screenshot I tried to achieve the same as the above screenshot, but it shows sometimes, and sometimes doesn't. Is there anyone who faced the same issue as me where iOS 12 or 13 doesn't show 2FA code from SMS on the keyboard. in my code…
Sovathana Lun
  • 31
  • 1
  • 4
3
votes
2 answers

"Automatic SMS Verification with the SMS Retriever API" vs "Authenticate with Firebase using a Phone Number"

On my andoird app to do Automatic SMS Verification I can use this: "Automatic SMS Verification with the SMS Retriever API" https://developers.google.com/identity/sms-retriever/overview Nice. But to do Automatic SMS Verification I can also use…
Alexei
  • 14,350
  • 37
  • 121
  • 240
3
votes
0 answers

how to change existing appname from firebase sms verification. %LOGIN_CODE% is your verification code for %APP_NAME%

how to change existing appname from firebase sms verification. %LOGIN_CODE% is your verification code for %APP_NAME%.
Shanan
  • 112
  • 1
  • 8
3
votes
2 answers

how do you prevent verification code attack to server

building a server for an app and one of the steps of the registration in the app is to enter a phone number verification code. The verification code will be sent to the phone through sms and the verification code needs to be entered to continue the…
2
votes
0 answers

Getting "DOMException: OTP retrieval was cancelled." when using WebOTP API

I am testing WebOTP API for autofilling verification code using WebOTP API. I'm trying to fill an HTML input element inside a cross-origin iframe. The iframe is a Preact app. I added the following to the iframe code where the input…
Kim
  • 21
  • 1
2
votes
0 answers

Link phone number to a Firebase user Flutter

I have a registration screen where the user enters Email, Password and Phone Number. Then, I create a user with the email and password: Future signUp({String email, String password}) async { try { await…
2
votes
0 answers

Custom phone verification in AWS Cognito?

AWS Cognito SDK provides two methods: GetUserAttributeVerificationCode VerifyUserAttribute The first one generates a 4-digit code for the provided attribute (email or phone) and the second one verifies the provided attribute with the provided…
2
votes
1 answer

Android SMS Verification API result code is always 0

I implemented the Android SMS Verification API on activities and fragments on the same project and it went well. My problem is with fragments in tabs. No matter what I do, onActivityResult always returns result code 0 when "Allow" is pressed. Here's…
Lendl Leyba
  • 2,287
  • 3
  • 34
  • 49
2
votes
1 answer

What is the correct format for SMS OTP to read by my keypad? iOS

At first, I have a same problem as this question How to show verification code suggestion on keyboard from Message, then when I received a message containing Your one time password is 123456, the passcode was suggested in my keypad, the case is, I…
Dylan
  • 1,121
  • 1
  • 13
  • 28
1
2 3 4 5