artshishkin

Results 3 comments of 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 ![IMG_20201102_165108](https://user-images.githubusercontent.com/14264661/97883285-56af6080-1d2d-11eb-81de-ee2e6b2324ed.jpg)