Fortinet Document Library

Version:

Version:


Table of Contents

Download PDF
Copy Link

Creating a test user and token

Registering FortiToken

In order to test two-factor authentication, a token is required. The configuration instructions included in this guide use FortiToken.

Note

For security reasons, a token can only be automatically registered from the FortiGuard network a single time. If you need to register it a subsequent time, please contact Fortinet support.

To register a FortiToken:
  1. Go to Authentication > User Management > FortiTokens, and select Create New.
  2. Select the Token type and enter the FortiToken Serial number or Activation code. Click OK.
    Once registered, tokens will be displayed with an Available status.

Creating a test user

Create a single test user with RADIUS authentication and FortiToken two-factor authentication enabled.

To create the user:
  1. Go to Authentication > User Management > Local Users, and click Create New.
  2. Enter a username and password for the local user.
    The configuration instructions included in this guide use the username John.Doe.
  3. Enable Allow RADIUS authentication, and click OK to access additional settings.
  4. Enable Token-based authentication and choose Deliver the token code by FortiToken.
    Select the FortiToken added earlier from the relevant dropdown menu.
  5. Set the Delivery method to Email. This will automatically open the User Information section where you can enter the user email address in the field provided.
  6. Click OK to save changes to the local user.


Creating a test user and token

Registering FortiToken

In order to test two-factor authentication, a token is required. The configuration instructions included in this guide use FortiToken.

Note

For security reasons, a token can only be automatically registered from the FortiGuard network a single time. If you need to register it a subsequent time, please contact Fortinet support.

To register a FortiToken:
  1. Go to Authentication > User Management > FortiTokens, and select Create New.
  2. Select the Token type and enter the FortiToken Serial number or Activation code. Click OK.
    Once registered, tokens will be displayed with an Available status.

Creating a test user

Create a single test user with RADIUS authentication and FortiToken two-factor authentication enabled.

To create the user:
  1. Go to Authentication > User Management > Local Users, and click Create New.
  2. Enter a username and password for the local user.
    The configuration instructions included in this guide use the username John.Doe.
  3. Enable Allow RADIUS authentication, and click OK to access additional settings.
  4. Enable Token-based authentication and choose Deliver the token code by FortiToken.
    Select the FortiToken added earlier from the relevant dropdown menu.
  5. Set the Delivery method to Email. This will automatically open the User Information section where you can enter the user email address in the field provided.
  6. Click OK to save changes to the local user.