Skip to main content
RBA
Staff
Staff
April 30, 2025

Technical Tip: How to fix 'The requested URL was not found on this server' error for SAML FSSO.

  • April 30, 2025
  • 0 replies
  • 955 views
Description This article describes how to fix the error 'The requested URL was not found on this server' for SAML FSSO feature on FortiAuthenticator.
Scope FortiAuthenticator.
Solution

The setup involves FortiGate, FortiAuthenticator, and Azure as ID,P where FortiAuthenticator acts as the service provider (SP) and Microsoft Azure AD as the identity provider (IdP).

 

The first step would be to verify the config as described in the official document: SAML FSSO with FortiAuthenticator and Microsoft Azure AD 

 

Upon external redirect from FortiGate captive portal, error 404 'The requested URL was not found on this server' was prompted. This normally indicates the URL used on the SP side for IdP single sign-on is wrong or has typos, or is missing values.

 

HAR would show the GET request and response post redirection from FortiGate.

 

har1ss.png

 

har1.png

 

 

All FortiGate, FortiAuthenticator and IDP URL should match. In this scenario, removing '/' fromthe  FortiAuthenticator config fixed the issue.

    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.