Configuring and Routing Multiple Requestable ACS URLs in SAML
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:
- Navigate to your SAML application configuration page.
-
Locate the primary Assertion Consumer Service (ACS) URL textbox and enter your default URL.
-
Expand the Requestable Assertion Consumer Service (ACS) URLs menu.
-
Click the Add button.
-
Enter your valid secondary ACS URL into the input field.
-
Click outside the box or save to confirm the entry.
-
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.
-
Note on Uniqueness: URLs are not case-sensitive during this validation check (e.g.,
https://Example.com/acsis treated the same ashttps://example.com/acsand will be flagged as a duplicate).
-
-
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
AuthnRequestcontainsAssertionConsumerServiceIndex=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
AuthnRequestcontains a specific URL string via theAssertionConsumerServiceURLparameter, 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.
-