Technical Tip: Failed to authenticate user admin because FortiToken Cloud returns error (402)
| Description | This article describes the FortiToken Cloud returns error (402) due to the trial license already expired and a prompt for payment is required.
The error message is shown FortiGate console:
|
| Scope | FortiGate, FortiToken Cloud. |
| Solution | Proceed in factory reset or format the device by following this KB article: Technical Tip: Formatting and loading FortiGate firmware image using TFTP
Once the factory reset or device format is successful proceed in restoring the backup configuration, make sure to remove the FortiToken Cloud configuration under 'config system admin'.
config system admin edit "ieadmin" set accprofile "super_admin" set vdom "root" set two-factor fortitoken-cloud <----- Remove this line and save the configuration file. set email-to "test@mail.com" set password ENC SH2c5Ljqkl7y6tB170IGEdGimUkf2SlGqY2Ws3hhGjy6IhZmaUk96as2Icr/dk= next end |

