Jump to content
  • 0
Sign in to follow this  
Blesta Addons

The one-time password entered is invalid.

Question

8 answers to this question

Recommended Posts

  • 0

I don't think the timezone should have an effect on this issue since the time comparison is relative to UTC. This type of issue usually arises because the server time is no longer synced with the current actual time.

For example, if the time is currently 08:00 but your server time is 07:55, the server time is 5 minutes slow, so while clients will generate a OTP based on 08:00, it will be compared against a different OTP from 07:55 by the server. This time drift will cause the OTP to be rejected if it is more than +/- 3 minutes from current time.

Share this post


Link to post
Share on other sites
  • 0

all our new clients cannot use the two factor identification, they all receive the error "The one-time password entered is invalid." test in all browsers and no effect .

the old account also if they logout the can't login again and they recieve a invalid onetime password .

Please is urgent and trivial.

Share this post


Link to post
Share on other sites
  • 0
2 hours ago, Tyson said:

Is your server time accurate? If it's off by even a couple minutes the one time password will not be accepted.

i checked and i found the server time is also set to Africa/Casablanca. what pist or debug i need to do? now a lot of claim from clients, they can't access their account,

Share this post


Link to post
Share on other sites
  • 0
13 hours ago, Tyson said:

For example, if the time is currently 08:00 but your server time is 07:55, the server time is 5 minutes slow, so while clients will generate a OTP based on 08:00, it will be compared against a different OTP from 07:55 by the server. This time drift will cause the OTP to be rejected if it is more than +/- 3 minutes from current time.

i will check this and return to you.

Share this post


Link to post
Share on other sites
  • 0
22 hours ago, Tyson said:

For example, if the time is currently 08:00 but your server time is 07:55, the server time is 5 minutes slow, so while clients will generate a OTP based on 08:00, it will be compared against a different OTP from 07:55 by the server. This time drift will cause the OTP to be rejected if it is more than +/- 3 minutes from current time.

that was the cause, thanks, resolved .

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×