Associate FortiTokens with accounts
The final step before using the FortiTokens to authenticate logons is associating a FortiToken with an account. The accounts can be local user or administrator accounts.
NOTE: You cannot delete a FortiToken from the FortiToken list page if it is associated with a user account.
To add a FortiToken to a local user account using web-based manager:
-
Ensure that your FortiToken serial number has been added to the FortiProxy unit successfully, and its status is Available.
-
Go to User & Authentication > User Definition, select the user account, and then click Edit User.
-
Enter the userʼs Email Address.
-
Enable Two-factor Authentication.
-
Select the user's FortiToken serial number from the Token list.
-
Click OK.
For mobile token, select Send Activation Code to be sent to the email address configured previously. The user will use this code to activate the mobile token. An Email Service has to be set under System > Advanced to send the activation code. |
To add a FortiToken to a local user account using the CLI:
config user local
edit <username>
set type password
set passwd "myPassword"
set two-factor fortitoken
set fortitoken <serial_number>
set email-to "username@example.com"
set status enable
next
end
To add a FortiToken to an administrator account using the web-based manager:
-
Ensure that your FortiToken serial number has been added to the FortiProxy unit successfully, and its status is Available.
-
Go to System > Administrators , select admin, and then click Edit. This account is assumed to be configured except for two-factor authentication.
-
Enter admin's Email Address.
-
Enable Two-factor Authentication.
-
Select the user's FortiToken serial number from the Token list.
-
Click OK.
For mobile token, select Send Activation Code to be sent to the email address configured previously. The admin will use this code to activate the mobile token. An Email Service has to be set under System > Advanced to send the activation code. |
To add a FortiToken to an administrator account using the CLI:
config system admin
edit <username>
set password "myPassword"
set two-factor fortitoken
set fortitoken <serial_number>
set email-to "username@example.com"
next
end
The fortitoken
keyword is not visible until fortitoken
is selected for the two-factor
option.
Before a new FortiToken can be used, you might need to synchronize it due to clock drift. |