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

Passing admin keys to frontend is not secure #48

Open
art3mHQ opened this issue Jul 12, 2024 · 0 comments
Open

Passing admin keys to frontend is not secure #48

art3mHQ opened this issue Jul 12, 2024 · 0 comments

Comments

@art3mHQ
Copy link

art3mHQ commented Jul 12, 2024

With keys you generate and pass to frontend (woocommerce admin keys) user can do anything - like edit and delete any products, orders and so on. If you create a customer user you cant do almost anything even fetch products - so it is definitely not a production grade solution

ps for fetching some open data look at WooCommerce Store API

ps it will be nice if some one suggest how properly create an order via api for guest customer

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

1 participant