SAP Knowledge Base Article - Preview

2131935 - Ycommercewebservices login OAUTH- issue


If you are bypassing the  OAuth security, you will encounter problems like below:

- Current user will not be reflected , it will always be an annoymous user is session. For example, if you try the below code, you will always get anonymous user:

 final UserModel user = userService.getCurrentUser(); final String userID = user.getUid();"Login UserID : " + userID);

- Other session related problems



KBA , CEC-COM-CPS-WEB , Store frontend, Web CMS, Accelerators , How To

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.