C
C
camradee2021-04-08 11:20:06
API
camradee, 2021-04-08 11:20:06

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

1 answer(s)
I
imdeveloper, 2021-04-08
@link_web

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 question

Ask a Question

731 491 924 answers to any question