-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
logout issue when using Graphql #38761
Comments
Hi @estellehuang. Thank you for your report.
Join Magento Community Engineering Slack and ask your questions in #github channel. |
Hi @engcom-Delta. Thank you for working on this issue.
|
Hi, Any progress on this issue? |
Hi @estellehuang , Thanks for reporting and collaboration. We have tried to verify this issue on magento 2.4-develop instance and it is not reproducible. Steps to reproduce:- Using Graphql 1.login on frontend Please check the video attached and let us know if we missed anything. We are not getting any errors while logging in again. Screen.Recording.2024-05-28.at.3.11.04.PM.mov |
Hi @estellehuang , Awaiting your reply on this issue to move further. Thanks, |
Hello @estellehuang , As there is no activity on this issue for a long time, we believe the issue has been resolved, hence closing this issue. Thank you. |
Preconditions and environment
Steps to reproduce
Using Graphql
Expected result
Customer could login successfully
Actual result
The following error message display:
The current user cannot perform operations on cart "QXJscogXHdkTyJLXK0OcItaEByrGivCg"
Additional information
I made some investigation. I found even I logged out. When calling API createEmptyCart, the userid used to create cart is the userid I loged in last time instead of guest 0. The version 2.4.4-p2 doesn't has the issue. I found there is new feature for Graphql. That is disabling session for graphql. But in admin panel, I can't find the area to config it. Graphql session is enabled in default configuration. After I disabled it by changing code, my issue could disappear. I could login and logout without any issue.
Release note
No response
Triage and priority
The text was updated successfully, but these errors were encountered: