Multi-Factor Authentication failure with invalid security token error
This article applies to:
- Product edition: CloudRanger
After providing a token to an authenticator app, such as Google Authenticator or Microsoft Authenticator, CloudRanger administrator fails to set a multi-factor authentication (MFA). The configuration fails with the below error:
An error has occurred: Invalid security token.
Due to a time mismatch between the authenticator app and the public server, the token generated from the app after scanning the QR code from the admin console becomes invalid by the time you supply it on the CloudRanger administrator console.
Sync the time of the authenticator app with that of the public server.
- Go to the main menu on the Google Authenticator app.
- Tap More Settings.
- Tap Time correction for codes.
- Tap Sync now.
On the next screen, the app confirms that the time has been synced, and you should now be able to use your verification codes to sign in.
The sync only affects the internal time of your Google Authenticator app, and does not change the Date & Time settings of your device.