Skip to main content
darisandy
Staff
Staff
July 15, 2025

Technical Tip : Direct Login Captive Portal for FortiProxy Authentication

  • July 15, 2025
  • 0 replies
  • 347 views
Description This article describes how to directly log in to the Captive Portal page for authentication.
Scope FortiProxy v7.4.8, Form-Based Authentication Rule
Solution

The normal form-based authentication flow works like this:

  1. The user attempts to access any external website.
  2. FortiProxy intercepts the request and issues a redirect to the captive portal login page, with a unique auth-rule context in the query string.
  3. The user submits credentials through the form.
  4. Upon successful authentication, the user is redirected back to the original destination.

 

There are some cases because of browser cache behavior, the redirection will not work properly. The end user can opt to access the Captive Portal page directly and submit the credentials.

 

 

This is based on the setting at Policy&Objects -> Proxy Auth Setting.

 

FPX1.png

 

The portal page will look like this :

 

FPX2.png

 

The end user can then select 'Login' and submit the credentials. The user information will be populated within FortiProxy, and the user can start accessing external websites.

 

FortiProxy v7.4.9 will have some improvements on the flow of how authentication rule matching will happen. 

Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Fortinet Flag the Hack. Wednesday, August 26, 9:00 AM - 5:00 PM ET, COSM, Atlanta, GA.
Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!