Symptom
After configuring SAML2 SSO, the authentication fails.
Upon collecting Security Diagnostics Tool traces, the following error can be seen:
SAML20 CX_SAML20_FEDERATION: Can't map user name.
or
SAML20 CX_SAML20_FEDERATION: Format 'emailAddress' is not supported for user assignment. Long text: Format 'emailAddress' is not supported for user assignment.
Read more...
Environment
SAP Netweaver
Product
SAP NetWeaver Application Server for ABAP all versions ; SAP S/4HANA all versions
Keywords
CX_SAML20_FEDERATION, Can't map username, username, map, login error, saml2, saml2 sso, sso,sec_diag_tool , KBA , BC-SEC-LGN-SML , SAML 2.0 for ABAP , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.