Hi! So I’m making an e-commerce with Angular 6 and I’d like to allow users to create their own accounts without exposing any tokens on my front-end code. Problem is, it requires an Bearer token to create a new customer, I’ve read the documentation and it says I can generate an
implicit token using a client_id, but that feels like that token would have unrestricted access to all API calls/endpoints which is not safe and not what I’m looking for.
I’d like to be able to allow users to create an account/login and do user stuff like grab products, add new products, purchases products, etc. Is the e-commerce not focused on front-end applications or am I not understanding the documentation? I’d like to be able to accomplish my goal without any middleware.
OBS: Posted here since Help was returning “internal server error”