Skip to Content
0
Former Member
Feb 19, 2018 at 04:47 PM

Why does UserService return the anonymous instead of the logged in user?

479 Views

I am having an issue where a user is logged into the storefront and calling userService.getCurrentUser() returns the anonymous user. The session is still active and it doesn't seem to happen all the time.

I am unable to recreate this in development but this does happen in production intermittently.

I'm on hybris 6.1. There are no stack traces or other errors associated with this call.

There seems to be a related issue here: https://answers.sap.com/questions/12756822/view.html

But, there are no real answers yet.

Has anyone else seen this?