Multiple attributes configuration in SAML response

This topic has 3 replies, 2 voices, and was last updated 1 month, 3 weeks ago by Jatinder Singh.

  • Author
    Posts
  • #28461
     praveenpasi
    Participant

    Hi,
    We are using ForgeRock 6.5 version & sucessfully established federation between ForgeRock & IDCS with ForgeRock as IdP as IDCS as SP.
    In the SAML response returned from ForgeRock to IDCS,currently only the below attribute(mail) are returned.

    <saml:AttributeStatement>
    <saml:Attribute Name=”mail”>
    <saml:AttributeValue xmlns:xs=”http://www.w3.org/2001/XMLSchema&#8221;
    xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance&#8221;
    xsi:type=”xs:string”
    >[email protected]</saml:AttributeValue>
    </saml:Attribute>
    </saml:AttributeStatement>
    </saml:Assertion>

    What should I do(configure) if I want to return multiple attributes like firstName,lastName etc to be returned in SAML response.

    Please suggest.

    Regards,
    Praveen

    #28462
     Jatinder Singh
    Participant

    You need to configure Entity Providers > Your SP > Assertion Processing > Attribute Map. Please ensure the attributes being used are also specified in the identity repository.

    Thanks,
    Jatinder

    #28465
     praveenpasi
    Participant

    Thanks Jatinder,
    It really helped a lot.I could get the desired attributes after configuring in Entity Providers > Your SP > Assertion Processing > Attribute Map.

    Thanks Again,
    Praveen

    #28466
     Jatinder Singh
    Participant

    Great. Happy ForgeRocking!

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

©2021 ForgeRock - we provide an identity and access platform to secure every online relationship for the enterprise market, educational sector and even entire countries. Click to view our privacy policy and terms of use.

Log in with your credentials

Forgot your details?