Skip to main content
kltam
Staff
Staff
Nov 5, 2025 6:38 AM UTC

Technical Tip: Removing Post Authentication Redirect for Captive Portal on FortiGate

  • Apr 16, 2026 12:00 PM UTC
  • 0 replies
  • 935 views
  • Translate All
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.

Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024