Hands-on with OAuth-based authentication

OAuth-based authentication is the most complex, yet most flexible one supported by Magento. Before we get to use it, the merchant must register our external application as integration with the Magento instance. Placing ourselves in the role of merchant, we do so in the Magento admin area under System | Extensions | Integrations. Clicking on the Add New Integration button opens the screen as shown in the following screenshot:

Hands-on with OAuth-based authentication

The value External Book App is the freely given name of our external application. If we were connecting it with Twitter, we could have easily put its name here. Next to Name, we have the ...

Get Magento 2 Developer's Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.