artshishkin
artshishkin
Despite we config our period to 60s Google Authenticator makes one full circle in 30 seconds. But FreeOTP makes it in 60 seconds. And Wikipedia says: Subsequently, when the user...
So you can either choose `FreeOTP` or change config to default period: `.setTimeStepSizeInMillis(TimeUnit.SECONDS.toMillis(30))` in ```java @Bean public GoogleAuthenticator googleAuthenticator(ICredentialRepository credentialRepository){ GoogleAuthenticatorConfig.GoogleAuthenticatorConfigBuilder configBuilder = new GoogleAuthenticatorConfig.GoogleAuthenticatorConfigBuilder(); configBuilder .setTimeStepSizeInMillis(TimeUnit.SECONDS.toMillis(30)) .setWindowSize(10) .setNumberOfScratchCodes(0); GoogleAuthenticator...
with default period 30s Google Authenticator works well 