> Source: [sk1000322](https://support.checkpoint.com/results/sk/sk1000322)

# sk1000322 - Remote Access VPN SAML authentication fails on Spark Firewall Appliance 

| Property | Value |
|----------|-------|
| Solution ID | sk1000322 |
| Date Created | 2026-10-28 |
| Last Modified | 2026-11-04 |
| Technical Level | General |
| Products | Spark Firewall (Centrally Managed) |
| Versions | R81.10.X |

## Symptoms

- * Remote Access VPN users cannot authenticate with SAML.

* Users can see this error in the browser: "*ID error, please notify administrator*"

* The Check Point VPN client can show: "*Negotiation with site failed.*"

* Relevant logs can contain SAML policy, Destination URL, or Identity Provider configuration errors, including:

  *allowRealms: 'vpn' is not a SAML realm*

  *Configuration error - Please update the field 'unique_identifier'*

## Cause

The SAML configuration contains a URL mismatch between the Spark Firewall Remote Access VPN configuration and the Identity Provider configuration.

Possible mismatches include:

* The SAML Destination URL does not exactly match the configured VPN portal URL:

  * Configured portal URL: `https://Vpn.example.com`
  * Actual portal and certificate hostname: `https://vpn.example.com`
* The Okta ACS or Single Sign-On URL included a trailing slash after the Check Point IdP object UUID.

  * Expected format: https://vpn.example.com/\<path\>/\<IdP-object-UUID\>
  * Incorrect format: https://vpn.example.com/\<path\>/\<IdP-object-UUID\>/

<!-- -->

* The trailing slash caused the Check Point SAML ACS handler to parse the IdP object UUID incorrectly, which triggered the unique_identifier configuration error.

A separate SAML portal policy path issue was also identified on the Spark Firewall 1800 R81.10.17 pfrm2.0 platform. Do not manually modify internal portal configuration files unless Check Point Support confirms that the condition applies to the specific appliance and build.

## Solution

1. **Correct the Remote Access VPN portal hostname in SmartConsole:**
   1. On the Security Management Server, open SmartConsole.
   2. Go to the Remote Access VPN or Mobile Access portal configuration for the Spark Firewall 1800 Appliance.
   3. Correct the portal URL so that the hostname exactly matches the certificate hostname.
   4. The hostname must match in spelling and letter case.  
      Example: Use "https://vpn.example.com", not "https://Vpn.example com"
   5. Install policy on the Spark Firewall.
2. **Correct the Okta SAML ACS or Single Sign-On URL:**
   1. In the Okta SAML application configuration, review the ACS or Single Sign-On URL used for Check Point Remote Access VPN.
   2. Remove the trailing slash after the Check Point IdP object UUID.  
      Example: Use "https://vpn.example.com/\<path\>/IdP-object-UUID\>", not "https://vpn.example.com/\<path\>/\<IdP-object-UUIS\>/
   3. Confirm that the SAML Entity ID and IdP settings match the Check Point SAML configuration.
3. **Apply the SAML portal policy path workaround only if the policy path errors remain:**
   1. Apply this step only when logs still show that the SAML portal uses the wrong IdP policy path after the URL corrections.
   2. Connect to the Spark Firewall appliance command line.
   3. Enter Expert mode.
   4. Back up the Apache SAML VPN configuration file:  
      `cp -p /opt/fw1/conf/multiportal/httpd-conf/saml-vpn/httpd.conf /opt/fw1/conf/multiportal/httpd-conf/saml-vpn/httpd.conf.backup.$(date +%Y%m%d_%H%M%S)`
   5. Add the required `IDP_POLICY_DIRECTORY` directive if it does not already exist:  
      `grep -q '^SetEnv IDP_POLICY_DIRECTORY /opt/fw1/portals/CPSamlPortal/phpincs/spPortal$' /opt/fw1/conf/multiportal/httpd-conf/saml-vpn/httpd.conf || echo 'SetEnv IDP_POLICY_DIRECTORY /opt/fw1/portals/CPSamlPortal/phpincs/spPortal' >> /opt/fw1/conf/multiportal/httpd-conf/saml-vpn/httpd.conf`
   6. Restart the Mobile Access / Remote Access VPN portal service: mpclient restart sslvpn
4. **Verify the fix:**
   1. From an endpoint with the Check Point VPN client, connect to the Remote Access VPN site.
   2. Complete Okta SAML authentication.
   3. Confirm that authentication succeeds and the VPN tunnel connects.
   4. Confirm that users no longer see: "*ID error, please notify administrator*"
   5. Confirm that the VPN client no longer reports: "*Negotiation with site failed*"
   6. If debug is enabled by Check Point Support, confirm that the previous SAML realm, destination validation, and `unique_identifier` errors no longer appear.

Additional Notes
----------------

* **Service impact:** The command `mpclient restart sslvpn` restarts the portal service. Run it during a maintenance window if active Remote Access VPN users can be affected.
* **Configuration backup:** Always back up `/opt/fw1/conf/multiportal/httpd-conf/saml-vpn/httpd.conf` before you edit it.
* **Policy installation:** If the SAML portal policy path issue returns after policy installation, recheck the `SetEnv IDP_POLICY_DIRECTORY` directive.
* **Case sensitivity:** SAML destination validation is case-sensitive. The portal URL, certificate hostname, and IdP URLs must match exactly.
* **API alternative:** No Management Application Programming Interface (API) alternative is available for the Expert mode workaround in this article.
* **Scope:** The workaround applies to the identified Spark Firewall 1800 Appliance environment. For other versions or platforms, contact Check Point Support before you manually change portal configuration files.

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
