Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
69 views

How to make oauth1.0 request using guzzlehttp

I am trying to connect two magento2 instances through REST API. I have already created Endpoints. I am using GuzzleHttp\Client to make request. How to implement Oauth 1.0 Using guzzlehttp. Any other ...
Haarish Infant Raj's user avatar
1 vote
1 answer
133 views

OAuth-based authentication getting issue

hi i am trying to create OAuth-based authentication by following official doc https://devdocs.magento.com/guides/v2.3/get-started/authentication/gs-authentication-oauth.html but when i click on login ...
Pramod's user avatar
  • 1,464
2 votes
0 answers
256 views

How to implement Oauth2 in magento 2?

I have a third party application which want to access magento api using Oauth2. Is there any extension or method which can help me in this?
BornCoder's user avatar
  • 1,518
0 votes
2 answers
781 views

Magento 2 OAuth without a Callback URL

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 ...
David Christopher Reynolds's user avatar
2 votes
1 answer
5k views

The signature is invalid - Magento 2 Oauth 1 Rest API Authentication

I need to generate access token for third party extension in Magento. I create integration, now I should sent request to /oauth/token/request in order to get a request token, but I get following ...
Nigar Jafar's user avatar
2 votes
0 answers
139 views

How to Manage API Authentication Lifecycle on Mobile Devices? Magento2

Every hour regeneration of token and after that login again every hour is not logical for Mobile Application. Then how Magento manages user login data and authentication in Mobile application,...
Aditya Shah's user avatar
  • 7,647
0 votes
1 answer
543 views

Getting "oauth_problem=Consumer+key+has+expired" Error in Magento 2 Auth 1.0

I am getting "oauth_problem=Consumer+key+has+expired" auth 1.0 in Magento2. Please see below screenshot: Anyone solved this, please help!
Chandra Kumar's user avatar
0 votes
0 answers
372 views

oauth/token/request not getting parameter from thirdparty application

I tried to authorize Magento web api using OAuth. Its successfully completed in local machine. I have used OAuth extenstion. I implemented magento2 and code-igniter on different hosts. So I want to ...
Midlaj's user avatar
  • 397
3 votes
1 answer
595 views

Magento 2 Oauth Integration Error

I followed Magento Doc and created checklogin.php, endpoint.php, login.php and OauthClient.php. As the doc says in checklogin.php, there is $credentials = new \OAuth\Common\Consumer\Credentials($...
maniramav's user avatar
1 vote
1 answer
7k views

Connecting to Magento Rest API by python

I'm new to Magento API and actually a python programmer, there are some APIs I should connect to them through Rest and I stick to the first step of authentication with OAuth for getting access tokens ...
aLoneStrider's user avatar
0 votes
1 answer
455 views

Magento2 soap/rest api for third-party consumer

I'm trying to create a webservice client for Magento2 api. I would like to know whether Magento2 supports oauth2 or oauth1.0. Could someone clarify if Magento2 SOAP API also requires oauth process?
deepa's user avatar
  • 1
3 votes
0 answers
547 views

3rd party OAuth integration with Java

I'm following the documentation http://devdocs.magento.com/guides/v2.1//get-started/authentication/gs-authentication-oauth.html and I'm a little stuck. Basically I want to make REST calls from my ...
Thomas Bernhard's user avatar
3 votes
1 answer
3k views

Magento 2: Successful oAuth/Integration Flow

Does anyone have or know of working PHP code to complete an oAuth API integration request flow? I've gotten past the activation step, and my application has the following information [...
Alana Storm's user avatar
  • 44.4k
5 votes
1 answer
989 views

Magento2 REST auth help needed

I'm hanging on this issues for nearly a week and cannot find any sollution. I'm trying to send a REST request to my new Magento2 store. It worked allready, but then the oauth/token forced ...
Java_Waldi's user avatar
2 votes
1 answer
5k views

Consumer is not authorized to access %resources REST API

I use MAGENTO 2 REST API in MobileFIrst project (Worcklight) in my adapter : function _retrieve(token) { if (!token) return { 'isSuccessful': false, 'errorMsg' : 'params is ' + params}; ...
Gommez's user avatar
  • 43
0 votes
2 answers
3k views

Authorization failed during category creation using REST API

I am playing with magento 2 Rest API to add category in magento admin. I am writing below code, but showing "401 Unauthorized" and showing message Consumer is not authorized to access %resources ...
Rahul Anand's user avatar
1 vote
1 answer
3k views

How to create oauth_signature for OAuth-based authentication using Magento 2.0 REST API

How do I create an oauth_signature for OAuth-based authentication in Magento 2.0 REST API requests? Assuming I use PHP's hash_hmac: hash_hmac ( 'sha1' , $string , 'Integrations-Consumer-Secret' ); I'...
GuyC's user avatar
  • 275
1 vote
1 answer
2k views

How to create REST API in Magento 2?

i'm new to Magento 2, i am assigned to create a HTML search form which take input as a CustomerID and return the Customer info associated with that CustomerID, using oAuth and REST API. I have no ...
Luan Tran's user avatar
  • 196
2 votes
1 answer
2k views

OAUTH Flow in Magento2

I need to create the Rest API in magento in 1.x or 2.x and I need to expose to the third party , I have doubt on the authentication how its going to be carried out for the OAUTH ->How the 3rd party ...
Niranjan B's user avatar
  • 1,232