SAP Knowledge Base Article - Preview

2317821 - SAML2.0: Error CALL 'SAML login' and received empty CONTEXT_REF during SAML logon

Symptom

SAML 2.0 traces show that SAML Response was parsed and verified successfully. However, call to 'SAML login' fails with some SUBRC different than 0. For example:

SAML20 SP (client xxx): NameID xxx (Format XXX) mapped to user ID XXX
SAML20 SP (client xxx): CALL 'SAML login' and received empty CONTEXT_REF (SY-SUBRC = 1)

SAML 2.0 traces can be captured using with the KBA 2960670.


Read more...

Environment

  • SAP enhancement package 2 for SAP NetWeaver 7.0
  • SAP NetWeaver 7.3
  • SAP enhancement package 1 for SAP NetWeaver 7.3
  • SAP NetWeaver 7.4
  • SAP NetWeaver 7.5 and higher

Product

SAP NetWeaver 7.3 ; SAP NetWeaver 7.4 ; SAP NetWeaver 7.5 ; SAP enhancement package 1 for SAP NetWeaver 7.3 ; SAP enhancement package 2 for SAP NetWeaver 7.0

Keywords

Error when logging on for external ID, SY-SUBRC, CONTEXT_REF, SAML login, SAML, SAML2 , KBA , BC-SEC-LGN-SML , SAML 2.0 for ABAP , BC-SEC-LGN , Authentication , 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.