cancel
Showing results for 
Search instead for 
Did you mean: 

req.user.id does not give me my user email id from SAP Build Workzone tile.

Srikar
Active Participant
0 Kudos
126

Hello Team,

I am trying to get the logged-in user from my SAP CAPM entity's userDetails to determine the data based on the user email ID. But when reading the req.user.id in workzone, I get 'system' as the logged-in user.

From the SAP Build Workzone tile - > req.user.id = 'system'

From SAP BAS connected with XSUAA binding, I get the - > req.user.id = ''srikar@gmail.com

Is there anything I have to do to get the logged-in user in server.js or a custom JS handler?

I opened Workzone and authenticated from the custom IDP from the organization using email. I need to validate the email in the SAP CAPM service. 

Any thoughts?

Thank You,

Srikar N

 

 

 

Accepted Solutions (0)

Answers (0)