Configuring and Routing Multiple Requestable ACS URLs in SAML

Configuring and Routing Multiple Requestable ACS URLs in SAML

163
Created On 11/12/26 15:36 PM - Last Modified 11/12/26 16:28 PM


Objective


Target Audience: Administrators

Feature: SAML Single Sign-On (SSO) Configuration

Overview

In a standard SAML 2.0 configuration, the Assertion Consumer Service (ACS) URL is the endpoint on the Service Provider (SP) where the Identity Provider (IdP) will post the SAML response.

Some Service Providers require or support multiple ACS URLs (for example, to support different environments, regional endpoints, or specialized routing). This feature allows administrators to define a list of Requestable ACS URLs. When an SP sends an authentication request, the IdP will validate the requested ACS URL against this pre-configured list before securely routing the response.

 

 



Environment


Identity Applications

Procedure


How to Configure Multiple ACS URLs:

  1. Navigate to your SAML application configuration page.
  2. Locate the primary Assertion Consumer Service (ACS) URL textbox and enter your default URL.

  3. Expand the Requestable Assertion Consumer Service (ACS) URLs menu.

  4. Click the Add button.

  5. Enter your valid secondary ACS URL into the input field.

  6. Click outside the box or save to confirm the entry.

  7. Optional: To rearrange the priority/order of the URLs, click and drag the ACS URL to specify the order using the drag indicator (↕).


Configuration Rules & Limitations

To ensure secure and proper routing, the system enforces the following validations when configuring Requestable ACS URLs:

  • Maximum Limit: You can add up to a maximum of 100 Requestable ACS URLs per SAML application.

  • Order Numbering: The priority order is automatically assigned, starting from 1 for the very first row in the Requestable ACS URLs list.

  • Duplicate Prevention: Duplicate URLs are not permitted.

  • URL Formatting: * All entries must be properly formatted, valid URLs.

    • A single URL must not exceed 2048 characters in length.

  • Management & Deletion: Administrators can actively manage the list by dragging items to change their order or deleting obsolete URLs from the table as needed.


SAML Authentication Flow & Routing Logic

The Identity Provider (IdP) determines where to send the SAML Response based on whether the login is IdP-initiated or SP-initiated, and what specific parameters are passed in the SP's authentication request (AuthnRequest).

1. IdP-Initiated Flow

In an IdP-initiated flow, the user starts the login process directly from the IdP dashboard. Because there is no initial request from the Service Provider specifying a destination, the IdP defaults to the primary URL.

  • Routing Behavior: The IdP will redirect the SAML Response to the URL configured in the primary Assertion Consumer Service (ACS) URL textbox.

2. SP-Initiated Flow

In an SP-initiated flow, the user starts the login process at the Service Provider, which sends a SAML AuthnRequest to the IdP. The IdP evaluates the request parameters to determine the correct routing destination:

  • Scenario A: The request specifies an ACS Index of 0

    • Routing Behavior: If the AuthnRequest contains AssertionConsumerServiceIndex=0, the IdP will route the response to the default URL entered in the primary Assertion Consumer Service (ACS) URL textbox.

  • Scenario B: The request specifies a specific ACS Index (e.g., 1, 2, 3...)

    • Routing Behavior: The IdP will check if the requested index matches the Order number of a URL in the configured Requestable ACS URLs list.

    • Validation: * If the corresponding ACS URL is configured at that index, the IdP routes the response to that mapped URL.

      • If the index is not configured, the IdP will throw an error and halt the login process.

  • Scenario C: The request specifies an explicit ACS URL string

    • Routing Behavior: If the AuthnRequest contains a specific URL string via the AssertionConsumerServiceURL parameter, the IdP performs a strict match check.

    • Validation: 1. It first checks if the requested URL matches the primary Assertion Consumer Service (ACS) URL textbox value.

      2. If it does not match the primary URL, the IdP checks the requested URL against the list of Requestable Assertion Consumer Service (ACS) URLs.

      3. If a match is found in either location, the IdP redirects to that URL. If no match exists anywhere in the configuration, the IdP throws an error.



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001lL3CAI&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail