Answer the question
In order to leave comments, you need to log in
How does authorization work in Magento 2?
I created a custom api in magento 2.0, everything works. The next step I decided to add authorization, there are keys / tokens and in the request header I send 'Authorization': 'Bearer access_token' and the actual question is how to do this / enable server-side verification, i.e. in Mageno for my endpoint?
Answer the question
In order to leave comments, you need to log in
You need an ACL. Read what is in Magento. And create tokens for the endpoints you need
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question