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

Azure B2C を使用しているときに、空白を含むパラメーターを取得すると SAML エラーが発生する

written-by

Richárd Szabácsik

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

問題

  • SAML モジュールが構成され、Azure B2C と統合され、パラメーターを Liferay パラメーターにマップする必要がある場合、空白が原因で問題が発生する可能性があります。
    <saml:Attribute FriendlyName="Given Name" Name="Given Name"

    NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic">

    <saml:AttributeValue xsi:type="xs:string">Ferran</saml:AttributeValue> </saml:Attribute>

Environment

  • DXP 7.3

解決策

  • Liferay では、コンソール構成からこれらの空白を読み取る際に問題が発生することがあるため、Liferay 用に特定の Azure フィールドを作成し、SSO に接続された残りのシステム用に元の Name フィールドを残す必要があります。
    • 空白が含まれないように、Azure B2C 構成の名前を変更してください

did-this-article-resolve-your-issue

legacy-knowledge-base