I have a method when hit it, a user should be authenticated and logged in automatically. But this is not happening. Why? I tried storing user in session but it threw exception: User miss-match springSecurityUserId anonymous, hybris session 'userkeenreviewer11@hybris.com'
.Invalidating session.