Created on
06-04-2025
11:26 PM
Edited on
06-07-2025
01:53 PM
By
Jean-Philippe_P
Description |
This article describes how to customize the self-service portal to utilize the custom user fields. In FortiAuthenticator, custom fields can be configured in the user information and then used in the self-service portal. |
Scope | FortiAuthenticator. |
Solution |
Step 1. Edit Custom Fields Settings: Refer to this document for instructions on navigating to Custom User Fields: Custom user fields.
In this example, the Custom field 1 is changed to 'Department'.
Step 2. Create a new portal and portal policy to allow self-registration: Refer to these documents:
Step 3. Edit the User Registration Page HTML code.: The portal HTML code needs to be edited to include the custom field. Under Authentication -> Portals -> Replacement Messages -> User Registration Page:
Select 'Detach' to have better visibility of the source code, select 'Toggle Tag List' to show the usable tags, such as the custom field names and form field values. Follow the format of existing form fields and add the HTML code for the custom fields.
When completed, the custom fields should be visible in the User Registration Page. Save the changes.
Step 4. Test: Navigate to the portal URL (configured in Step 2 under the portal policy), select 'Create account'. The custom field 'Department' is visible in the self-register portal.
After registration, the user can be found in the specified user group. And the value of the 'Department' field is saved.
|
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.