legacy-knowledge-base
公開されました Jul. 2, 2025

SAML による署名エラー: com.liferay.saml.runtime.exception.AudienceException: Unable verify Audience

written-by

Ricardo Couso

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

問題

  • Liferay は SAML サービス プロバイダーとして設定されています。
  • Liferay にサインインしようとしてもできず、ログに次のエラーが表示されます。
    2022-01-20 11:50:38.554 ERROR [default task-391][BaseSamlStrutsAction:56] com.liferay.saml.runtime.exception.AudienceException: Unable verify audience

Environment

  • Liferay DXP 7.0+

解決策

  • このエラーは、SAML 応答のタグ <saml2:Audience> の値がサービス プロバイダー ID と一致しないために発生します。
  • この問題を解決するには、このタグの値を正しく通知するように ID プロバイダーを構成します。

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base