Questions tagged [one-time-password]

One time passwords are designed as single use passwords which expire after use. They are often more secure than single factor authentication methods such as username-password (something the user knows) due to their single use which makes replay attacks impossible

507 questions
4
votes
1 answer

Firebase Phone Auth OTP Message template issue

I know that we can't change the email verification template or the SMS verification template. I have already set Public-Facing Name which is working till the date. But today I got OTP with another text instead of that name. 123345 is your…
Pratik Butani
  • 51,868
  • 51
  • 228
  • 375
4
votes
1 answer

How to fix Caused by: java.lang.ClassNotFoundException: Didn't find class "androidx.browser.customtabs.CustomTabsIntent$Builder"

I'm trying to implement OTP verification by phone number using firebasebut I'am getting ths error: E/AndroidRuntime: FATAL EXCEPTION: main Process: com.wasali.mobile_authentication, PID: 7864 java.lang.NoClassDefFoundError: Failed resolution…
4
votes
0 answers

Firebase Phone Authentication not sending OTP

public class MainActivity extends AppCompatActivity { public String mVerificationId; private PhoneAuthProvider.ForceResendingToken mResendToken; private FirebaseAuth mAuth; @Override protected void onCreate(Bundle…
4
votes
0 answers

Removing OTP message from keyboard

My textfield read the OTP code from sms message, if the user press on from message the other textfields work fine, but if the user not use it, the OTP message still appears as suggestion to fill other textfields, so how cloud i remove the OTP from…
A.Munzer
  • 1,330
  • 11
  • 24
4
votes
1 answer

Change default expiry period of "Pyotp"

I'm using Pyotp for generating OTP. Default expiry of this token is 30sec. How can I change the default expiry to some 60 seconds? This is the simple code I'm using. secret = pyotp.random_base32() totp = pyotp.TOTP(secret) otp = totp.now()
Parvathy
  • 107
  • 1
  • 10
4
votes
4 answers

Firebase not sending OTP

I had registered a user in firebase using Firebase phone number authentication.For testing that functionality again, I deleted the user account from Firebase console. Now, i am trying to register that number again, its directly going to the…
4
votes
0 answers

TOTP Resynchronize Clock

I'm doing TOTP verification using Node + Redis and trying to figure out how to implement clock drift synchronization. I'm using hardware devices to generate the TOTP passcodes/tokens but need to account for clock drift of these hardware devices when…
gcc
  • 265
  • 1
  • 3
  • 13
4
votes
4 answers

JWT and one-time tokens?

I'm in the process of rolling my own JWT token auth, however, I would really like it to be a one time-token – so once it's used, the server generates a new token and the client will have to use that token during the next request/call. However, it…
Inx51
  • 1,515
  • 2
  • 17
  • 32
4
votes
0 answers

KERB_CERTIFICATE_LOGON and custom KSP

I'm implementing an OTP solution based on the Microsoft's whitepaper "Strong Authentication with One-Time Passwords in Windows 7 and Windows Server 2008 R2". The summary of the relevant part of that whitepaper is to essentially fake presence of a…
3
votes
2 answers

OTP not sent in release on Android device

Phone auth works on a physical iOS device in debug and release, but only in debug for a physical Android device. I've tried multiple solutions including adding the SHA-1 and SHA-256 to Firestore and downloading the latest google-services file. I've…
3
votes
2 answers

How to get OTP from SMS - autofill

I want to catch or read OTP of SMS messages automatically. I did some tests like this code : import 'package:flutter/material.dart'; void main() { runApp(MyApp()); } class MyApp extends StatelessWidget { // This widget is the root of your…
khaled mohammad
  • 125
  • 2
  • 11
3
votes
1 answer

Cognito Auth.sendCustomChallengeAnswer gives "AuthClass - Failed to get the signed in user No current user"

I am trying to make API (Lambda and API gateway) for sign in and verify auth using OTP for password-less authentication. The target is to make front end using angular and mobile application using Flutter but there is no support of AWS Amplify for…
3
votes
1 answer

SwiftUI TextField suggest OTP code without textContentType

I have a strange behavior in my SwiftUI project when using the TextField view. With the following code, the TextField textContentType is set to nil (or .none, or UITextContentType.init(rawValue: "")) but the keyboard suggest me an OTP code (if…
neilaur
  • 61
  • 5
3
votes
1 answer

Spring Security One-Time-Password (OTP) based Login

I'm implementing a web application using Spring Boot and I wanna know is there any best practice to leverage Spring Security in the following security model. End-Users will register into the service via an SMS OTP service (providing their mobile…
3
votes
3 answers

Regex to retrieve any alphanumeric otp code

I am trying to get a regex to retrieve alphanumeric OTP code (length of the code maybe dynamic i.e depending on user's choice) and must contain at least one digit. I have tried the following regex : "[a-zA-z][0-9].[a-zA-z]" But if a special…
1 2
3
33 34