-
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
GraphQl. Retrieve customer's shopping cart without an authorization token #28040
Comments
Hi @atwixfirster. Thank you for your report.
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
For more details, please, review the Magento Contributor Assistant documentation. @atwixfirster do you confirm that you were able to reproduce the issue on vanilla Magento instance following steps to reproduce?
|
Fix provided in #27373 |
Hi @dmytro-ch. Thank you for working on this issue.
|
Confirmed with PO that is was a requirement to support both - token and session. |
Hi @atwixfirster. Thank you for your report. The fix will be available with the upcoming 2.4.1 release. |
Hi @slavvka, why is this fixed as a bug while @lenaorobei confirmed this was a requirement? I think the issue was that the PWA and Magento shouldn't be in the same root folder. Deleting this functionality for all Magento users to fix something for someone who installed PWA and Magento in the same folder should not be the way to go. I think @atwixfirster should change his cookie path and it would be fixed in that way while leaving the functionality for using the Session ID. Now it's not possible to combine GraphQL calls that need a I made a PR to put back this functionality: |
Hi, @jesse-deboer ! We used And yes, @lenaorobei has provided the expected result here, so I believe your PR is correct one. Thanks |
✅ Jira issue https://jira.corp.magento.com/browse/AC-2244 is successfully created for this GitHub issue. |
✅ Confirmed by @engcom-Hotel. Thank you for verifying the issue. |
The way GQL works now is that we support both Session and Token - any would count for accessing authenticated content.
|
@magento give me 2.4-develop instance |
Hi @engcom-Lima. Thank you for your request. I'm working on Magento instance for you. |
Hi @engcom-Lima, here is your Magento Instance: https://5f73f7470fe7be8f2ce3f53d2a3e701f.instances.magento-community.engineering |
Preconditions (*)
Veronica Costello
Steps to reproduce (*)
PHPSESSID
value from a browser windowPHPSESSID
in a headerExpected result (*)
Bearer
) ONLY to retrieve a customer's cart.Actual result (*)
The text was updated successfully, but these errors were encountered: