I made a website in Angular, Node.JS. But backend is using Magento 2.1.12. How to make a secure website by calling admin token, customer token generated. This Angular frontend call rest API for products, it needs admin token. But if I give admin token, it creates security issues.

  • Do you want to generate secure admin and customer token using REST right ? Commented May 25, 2018 at 12:03

1 Answer 1


Try to use Oauth credentials. Security issues wont come

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.