multiotp icon indicating copy to clipboard operation
multiotp copied to clipboard

Wrong token length, Authentication typed by the user is 13 chars instead of 6 chars

Open jellovator opened this issue 1 year ago • 3 comments

I've been using multiOTP on my servers for about a year and everything has been working fine. I stood up a new Windows server and when I install the credential provider like I have on multiple other servers, I can't log in, I get a "Wrong one-time passcode" and in the multiotp.exe -display-log MyUser I see "Authentication typed by the user is 13 chars instead of 6 chars.... ERROR: Authentication failed (wrong token length)"

This has been working fine on every other server with the same user account. I do not have pin prefix enabled, I checked the registry key to make sure no prefix was set or anything. Nothing has changed with the multiOTP server or the user. This just happened on this particular server. I tried uninstalling the credential provider on another server where it was already installed and working before, then re-installed and it works fine. So it seems the issue is specific to this server. In fact, I just installed the credential provider on a laptop and was able to sign in without issue. This "wrong one-time passcode" is only happening on one specific server.

Anything I can check? multiOTP version is 5.9.5.1 and credential provider is version 5.9.5.6

jellovator avatar May 22 '24 15:05 jellovator

Hello, do you have multiOTP Pro or Enterprise ?

Best regards

multiOTP avatar May 23 '24 09:05 multiOTP

No, I am using the open edition.

jellovator avatar May 23 '24 13:05 jellovator

Did you install both :

  • For x64 edition: last x64 MSVC++ redistribuable installed (Microsoft Visual C++ Redistributable for Visual Studio 2015, 2017, 2019 and 2022) https://aka.ms/vs/17/release/vc_redist.x64.exe
  • For x86 edition: last x86 MSVC++ redistribuable installed (Microsoft Visual C++ Redistributable for Visual Studio 2015, 2017, 2019 and 2022) https://aka.ms/vs/17/release/vc_redist.x86.exe

Did you compare the registry keys from the working server and the none working server ? HKEY_CLASSES_ROOT\CLSID{FCEFDFAB-B0A1-4C4D-8B2B-4FF4E0A3D978}

Best regards

multiOTP avatar May 27 '24 06:05 multiOTP