Symptom
- Not able to open and create Story Reports on SuccessFactors
- When trying to access SAC URL in a parallel tab "Internal Server Error" message or endless loading screen appears.
- Browser developer tool network calls show status 500 for the call "<SAC URL>/sso/login/callback?code=<id>&state=<id>"
Environment
- SAP Cloud Identity Services
- SAP SuccessFactors HCM Suite
Reproducing the Issue
- Log into SuccessFactors
- Go to Reporting
- Click on new or open existing Story report
- The screen ends up in a never finishing loading screen.
Cause
SAP Cloud Identity Services is sending SAML attributes multiplied.
This can be checked capturing the SAML logs while login to SuccessFactors. E.g:
<AttributeStatement>
<Attribute Name="user_uuid">
<AttributeValue xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="xs:string"
>UUID</AttributeValue>
<AttributeValue xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="xs:string"
>UUID</AttributeValue>
<AttributeValue xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="xs:string"
>UUID</AttributeValue>
</Attribute>
<Attribute Name="env_id">
<AttributeValue xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="xs:string"
>ENVIRONMENTID</AttributeValue>
<AttributeValue xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="xs:string"
>ENVIRONMENTID</AttributeValue>
<AttributeValue xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="xs:string"
>ENVIRONMENTID</AttributeValue>
</Attribute>
<Attribute Name="mail">
<AttributeValue xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="xs:string"
>EMAIL</AttributeValue>
<AttributeValue xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="xs:string"
>EMAIL</AttributeValue>
<AttributeValue xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="xs:string"
>EMAIL</AttributeValue>
</Attribute>
<Attribute Name="last_name">
<AttributeValue xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="xs:string"
>LASTNAME</AttributeValue>
<AttributeValue xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="xs:string"
>LASTNAME</AttributeValue>
<AttributeValue xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="xs:string"
>LASTNAME</AttributeValue>
</Attribute>
<Attribute Name="first_name">
<AttributeValue xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="xs:string"
>FIRSTNAME</AttributeValue>
<AttributeValue xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="xs:string"
>FIRSTNAME</AttributeValue>
<AttributeValue xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="xs:string"
>FIRSTNAME</AttributeValue>
</Attribute>
</AttributeStatement>
Resolution
- Access your IAS admin console;
- Go to Applications & Resources > Applications > SuccessFactors - <Company ID>;
- Select the Trust tab;
- Choose Attributes;
- On Application Attributes expand every attribute on column "name" and delete all the duplicated;
- Do this procedure for all attributes that show multiplied SAML attribute values in the SAML logs;
- Save all the changes.
See Also
Keywords
Story reports, Success factors, embedded SAC, loading, Internal Server Error, SAC, callback?code=, duplicate attribute IAS, IAS , KBA , LOD-SF-ANA-SAC , Stories in People Analytics , BC-IAM-IDS , Identity Authentication Service , Problem
SAP Knowledge Base Article - Public