legacy-knowledge-base
Publicado Jun. 25, 2030

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

learn-legacy-article-disclaimer-text

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