Legacy Knowledge Base
Published Jun. 30, 2025

SAML Download Certificate button is broken, with Redirect URL errors seen

Written By

Dia Seung

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • The Download Certificate button doesn't work in the SAML Admin.
  • When I click on the Download Certificate button, nothing happens.
  • Redirect URL errors are seen in Liferay logs, such as:
    [http-nio-8080-exec-10][PortalImpl:991] Redirect URL https://localhost:8080/group/guest/~/control_panel/manage?p_p_id=com_liferay_saml_web_internal_portlet_SamlAdminPortlet&p_p_lifecycle=0&p_p_state=normal&p_p_state_rcv=1 is not allowed

Environment

  • DXP 7.4

Resolution

  • Update Redirect URLs under Control Panel > Instance Settings > Pages > Redirect URLs
    • Add the domain to "Allowed Domains" (i.e. www.liferay.com)
    • Change the "Security Mode" to 'Domain'.
      image-2023-01-03-16-43-18-714.png
  • Alternatively, add the following properties to the portal-ext.proeprties file (replacing with the appropriate domain names):
    redirect.url.security.mode=domain 
    redirect.url.domains.allowed=company.com,othercompanydomain.com
  • If redirect URL configurations are already set or do not resolve the issue, restart application server.

Additional Information

 

Did this article resolve your issue ?

Legacy Knowledge Base