I need to integrate a back end application (i.e. without a GUI) with Magento 2 REST APIs. As such I believe I need to use OAuth for authentication. However, as it is a back end service, there will be no users to process any redirects to third party urls. Is it possible to authenticate via OAuth in Magento2 without going to a callback URL? I note when you register an integration the callbacks are optional, and if you leave them blank the access token and access token secret are generated. Many thanks.
2 Answers
It's needed unfortunately. In a nutshell to complete the process of linking site to something. Did you manage to progress by skipping this step? I would be surprised to hear if you did.
-
Nope I couldn't get it to work.David Christopher Reynolds– David Christopher Reynolds2019-05-21 07:38:02 +00:00Commented May 21, 2019 at 7:38
-
Do you know how do applications without a GUI access Magento 2 APIs?David Christopher Reynolds– David Christopher Reynolds2019-05-21 07:44:41 +00:00Commented May 21, 2019 at 7:44
PHP Script to demonstrate Oauth call with signature generation process. refer stackexchange link