binshops / prestashop-rest

PrestaShop REST API module to expose your PrestaShop website's REST endpoints
https://www.binshops.com/prestashop-api
Academic Free License v3.0
95 stars 33 forks source link

Public API Rest response #30

Closed msaustral closed 2 years ago

msaustral commented 2 years ago

Hi is there a way to have and authentication before responding to any api request?

otherwise all store information will be public, anyone with access to the api documentation will be able to retrieve any information

samberrry commented 2 years ago

Hi is there a way to have and authentication before responding to any api request?

otherwise all store information will be public, anyone with access to the api documentation will be able to retrieve any information

Hi, these are front APIs not admin APIs, and they are supposed to be public for anyone. That's like that everyone can see your home page or your product details like what we have with PrestaShop by default (or any other shop), should people authenticate before accessing our front office? normally we do not expect this. Also, there are some protected APIs like getting order details, or profile info that need users/customers login.