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 2


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.


PHP Script to demonstrate Oauth call with signature generation process. refer stackexchange link

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.