| Description | This article describes the behavior of the captive portal on FortiGate when the post-authentication redirect URL is removed. This article also explains what happens after a user successfully logs in and how to configure the captive portal to redirect users to the original webpage the users were trying to access. |
| Scope | FortiGate. |
| Solution |
If the setting 'redirect-url' is configured in a firewall policy, the user's browser will be redirected to the configured URL after authentication succeeds.
To remove the post-authentication redirect URL for the captive portal on FortiGate, remove the set redirect-url configuration. After a user successfully logs in, the user will be redirected to the original webpage that the user was trying to access before the captive portal appeared.
config firewall policy edit <id> unset redirect-url end
By default, FortiOS will not prompt the built-in post-authentication replacement message to the user after authentication succeeds. |
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.