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

Customer does not keep authenticated when navigating from Catalyst storefront to Optimized One-Page Checkout #1059

Open
Pedro-Silva-MM opened this issue Jul 5, 2024 · 4 comments

Comments

@Pedro-Silva-MM
Copy link

Describe the bug
Running a Catalyst application locally, logging in as a customer, adding items to the cart and proceeding to checkout even though the user was authenticated on the storefront the checkout prompts the user to log in.

To Reproduce
Steps to reproduce the behavior:

  1. Run a Catalyst application locally
  2. Log in as a customer
  3. Add items to the cart
  4. Go to checkout

Expected behavior
The customer should remain authenticated from storefront to checkout.

image image
@bookernath
Copy link
Contributor

Thanks for your report @Pedro-Silva-MM. This is being added very soon with an improvement to the GraphQL Storefront API which will persist the customer session through to the checkout.

In the meantime, if you require this functionality right now, you can look at the approach in this PR which uses the Customer Login API to do so: #715

This approach requires a Client Secret from an API account created directly in the BigCommerce Control Panel.

Once we release our new approach, this will become a feature of the GraphQL Storefront API and will not require any additional credentials.

I'll keep this issue open until we release our new feature.

@Pedro-Silva-MM
Copy link
Author

Thank you =)

@smotlythomas
Copy link

We have the same issue, some updates about this ?

@jorgemoya
Copy link
Contributor

#1262 should fix this issue but we're finalizing some details before we merge.

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

No branches or pull requests

4 participants