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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.