Skip to Content
0
Former Member
Jul 28, 2016 at 12:24 PM

Destination config - OAuth2SAMLBearerAssertion with SAP JAM is not working as expected

157 Views

I have created a java application as per the instructions given in https://github.com/SAP/SAPJamSampleCode/tree/master/ODataSamples/ for creating a group in JAM.

If I hit create group servlet of application launched in HCP i get the following error:

System headers cannot be generated due to : com.sap.core.connectivity.httpdestination.common.HeaderGenerationException: Cannot generate OAuth 2.0 SAML Bearer Assertion because there is no user logged in the current thread.

Could you please suggest me what is that I'm missing here ??

Thanks in advance.