Skip to content
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

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

Open
1 of 8 tasks
Cyber-Root0 opened this issue May 7, 2024 · 5 comments
Assignees
Labels

Comments

@Cyber-Root0
Copy link

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:

  • Device [All Devices]:
  • Browser [All Browsers]:
  • Browser Version [Last version: 13.3.0]:
  • Magento Version [e.g Magento 2.4.6 Open Source]:

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

  • venia-concept
  • venia-ui
  • pwa-buildpack
  • peregrine
  • pwa-devdocs
  • upward-js
  • upward-spec
  • create-pwa
@Cyber-Root0 Cyber-Root0 added the bug Something isn't working label May 7, 2024
Copy link

m2-assistant bot commented May 7, 2024

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.

@Cyber-Root0 Cyber-Root0 changed the title [bug]: A short, simple sentence describing the bug [bug]: token is not being sent to the request headers, meaning that data is not rendered after login. May 7, 2024
@glo82145
Copy link
Collaborator

glo82145 commented May 8, 2024

@adobe export issue to Jira project PWA

@github-jira-sync-bot
Copy link

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

@glo85315
Copy link
Collaborator

glo85315 commented May 8, 2024

@adobe export issue to Jira project PWA

@glo85315
Copy link
Collaborator

glo85315 commented May 13, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants