I have configured cybersource as my payment gateway, I am able to navigate to cybersource and make a payment and able to return back to the site successfully.
But, user is getting logged out on redirecting back from the payment gateway, this is not happening all the time, but it is occurring randomly.
I identified in my networks that the cookies are getting removed on redirection. Is there any reason for that ? I have set Samesite=None and Secure=False in cookies.