magento / pwa-studio

🛠Development tools to build, optimize and deploy Progressive Web Applications for Magento 2.
https://developer.adobe.com/commerce/pwa-studio/
Open Software License 3.0
1.06k stars 683 forks source link

[bug]: token is not being sent to the request headers, meaning that data is not rendered after login. #4263

Closed Cyber-Root0 closed 2 months ago

Cyber-Root0 commented 3 months ago

token is not being sent to the request headers, meaning that data is not rendered after login.

To reproduce

Steps to reproduce the behavior:

I just carried out a compilation without modifying the main repository, and linked it to Magento perfectly, without errors so far, just the issue of client authentication. Cart and checkout are normal

Rendering customer information after login.

Screenshots

magento-authcustomerpwa loop-onrender

Possible solutions

I thought for a moment that it was some Magento configuration, but when sending the token manually via Graphql the data was displayed perfectly.

Debug Report

Paste the output of yarn build:report, and any other context about the problem, here.

Please complete the following device information:

Please let us know what packages this bug is in regards to:

m2-assistant[bot] commented 3 months ago

Hi @Cyber-Root0. Thank you for your report. To speed up processing of this issue, make sure that you provided sufficient information. Add a comment to assign the issue: @magento I am working on this


Join Magento Community Engineering Slack and ask your questions in #github channel.

glo82145 commented 3 months ago

@adobe export issue to Jira project PWA

github-jira-sync-bot commented 3 months ago

:white_check_mark: Jira issue https://jira.corp.adobe.com/browse/PWA-3265 is successfully created for this GitHub issue.

glo85315 commented 3 months ago

@adobe export issue to Jira project PWA

glo85315 commented 3 months ago

Hi @Cyber-Root0 , The issue is not reproducible in Venia. Below are the steps we followed: Step 1: Took the latest code from pwd_studio without modifying. Step 2: Compiled perfectly. Step 3: Ran the command from pwd-studio: yarn run watch:venia. Step 4: Opened Venia homepage in the browser. Step 5: Clicked on "Sign In". Step 6: After successful login, clicked on the customer's name. Step 7: Upon clicking the customer's name, we see a menu. Step 8: Clicked on "Favorites List". Step 9: It shows the information without any error.

glo82145 commented 2 months ago

As We have waited for more than 14 days for any update on this issue, hence we are closing this issue.

Feel free to reopen it any case of any update.