Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
0 answers
17 views

Magento provider for Apache airflow

I'm trying to create magento provider for Apache airflow. I need community support to merge that pull request. https://github.com/apache/airflow/pull/41556 Please let me know who are interested to ...
sivakumar's user avatar
  • 307
0 votes
0 answers
12 views

magento oauth is not working with apache airflow

I want to use Apache airflow for automation tasks related to Magento, so I'm trying to create an order sync. https://github.com/sivajik34/magento-airflow below oauth authentication is not working. ...
sivakumar's user avatar
  • 307
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
0 votes
0 answers
97 views

OAuth 1.0 Authentication in UNIX Shell Script

I am new to Magento REST API. I have requirement of UNIX shell script Authentication : To generate token for OAuth 1.0 Authentication. Please let me know how do I generate Access Token and Token ...
Amit's user avatar
  • 1
3 votes
4 answers
1k views

Access Token Expiration settings have no effect

I tried to change the default customer access token expiration from 1 hour to 48 hours and even to 0 to disable expiration, but regardless of what number I enter, the token I receive from the REST API ...
Pethő Jonatán's user avatar
2 votes
0 answers
185 views

What is Cleanup Probability Settings For OAuth

I am not getting the implementation of Cleanup Probability settings which you can find at Stores > Configuration > Services > OAuth > Cleanup Settings > Cleanup Probability. From the ...
Rajeev K Tomy's user avatar
1 vote
1 answer
582 views

magento2 call api test with postman : nonce validation error

After my integration is created and authorized, i'm trying to test the Magento REST API with Postman using the access token but an error related to nonce validation occurred. Any help please??
niraz's user avatar
  • 23
1 vote
2 answers
596 views

Magento 1: Where is oauth_admin.php

The rest documentation for Magento 1 make mention of an oauth_admin.php file $callbackUrl = "http://yourhost/oauth_admin.php"; $temporaryCredentialsRequestUrl = "http://yourhost/oauth/initiate?...
Alana Storm's user avatar
  • 44.4k
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
4 votes
1 answer
567 views

How to solve REST API with oAuth 1.0 Return 404 error in Magento 1.9.2.3?

Workout: Version : Magento 1.9.2.3 Created Rest oAuth Consumer oAuth 1.0 installed in Server Got the Token Key, Token secret using Consumer key & Consumer secret which created in step 1 Note : ...
zus's user avatar
  • 123
4 votes
0 answers
101 views

Salesforce Magento integration

I'm implementing salesforce magento integration through REST API callout. I have successfully got the response from magento and saved it in salesforce database. But facing issue while using ...
SalesforceElearner's user avatar
3 votes
0 answers
495 views

Invalid signature error on rest-api retrieve products

I want to retrieve all products from magento website through rest api. I am trying to connect to my Magento API but keep getting an invalid signature error. i have all integration details like ...
Shubham Talodiya'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
1k views

Neither Token nor Oauth API Authentication are working Magento 2.2.3

Upon activating Oauth in Magento admin, there is no request sent to the callback URL. If I try to setup normal token authentication, there are no tokens provided. I followed the documentation for ...
jaspersk's user avatar
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
2 votes
0 answers
137 views

Magento2 : Best way to handle Multi Device login using REST API Auth

I am creating an auth token for mobile customer using /V1/integration/customer/token When I use the same customer credentials in Second mobile device the first auth token is invalidated as the ...
Vishwas Bhatnagar'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
2 votes
1 answer
614 views

Cannot Create OAuth Consumer

I am trying to set up OAuth access to an API for a site running 1.9.3.2. All of the Magento instructions say: You can register your application by selecting System > Web Services > REST - OAuth ...
Josh's user avatar
  • 151
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
0 votes
1 answer
503 views

What would be authorization endpoint for oauth in magento 2

I am trying to build an api that delivers magento resources to a third party and for that I am using oauth for authentication purpose. On the third-party side the application asks for a authorization ...
Vivek Kumar's user avatar
  • 5,740
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
429 views

Magento Rest API

I want to use the Magento rest API for my application, when I will call the API from postman tool at that time there showing me error as per below: oauth_problem=parameter_absent&...
H.K.Suthar's user avatar
1 vote
1 answer
2k views

Get Customer Login into Magento1.9.x mobile app using REST api

I have a magento website and I am trying to make a android app for it. I have configured the oauth authentication to consume magento rest api and also tested it with postman. Till now everything is ...
Asheem Patro's user avatar
  • 1,070
0 votes
1 answer
2k views

Magento 1.9 REST API Callback

so I just set up my M1.9 store, and want to set up a REST API. I wanted to test it out by retrieving a list of products. I only don't know what to put in the callbackurl field, online they say the ...
TanguyB's user avatar
  • 213
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
0 votes
2 answers
4k views

Need Help To Connect Magento Rest Api using curl

I would like to use cURL to get all orders using rest API. Can I use cURL instead of Oath. I tried with cURL but returns 403 Forbidden. I have tried with below code : $params = array( "...
Ankit Ahilwal's user avatar
5 votes
0 answers
3k views

Magento's REST API responses claiming oauth_callback param is empty

Working with Magento CE 1.9. I'm attempting to make use of Magento's API however I keep running into the same error in my response: oauth_problem=parameter_absent&oauth_parameters_absent=...
sparecycle's user avatar
  • 1,479
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
2 answers
1k views

Client Side OAuth

So I'm trying to make a SPA that uses Magento 1.9.2.2 as its back office. To do this, I would like to use its REST API. And of course, it forces you to OAuth with Magento first. I have tried ...
Christian Grabowski's user avatar
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
8 votes
1 answer
1k views

REST api call for Guest user

Developing android native application using scribe library, and uses Rest based web services from existing Magento based eCommerce platform. I have got prerequisite requirement like 'Key' and 'Secret'...
user3136050's user avatar
1 vote
0 answers
107 views

Rest Api- get sales orders with authorizing only once

I have another website as admin panel which connects with magento store to fetch orders/products etc. I don't want to authorize every time I call the Api. I want the system will ask me for ...
Tanjil's user avatar
  • 125
0 votes
1 answer
2k views

Invalid Signature when testing API

I am trying to connect to my Magento API but keep getting an invalid signature response after authorizing. My long term goal is to have an external app that will be modifying select product details. ...
tylersDisplayName's user avatar
2 votes
0 answers
2k views

How to call localhost/magento/oauth/initiate?

I am trying to call the above url to initiate the oauth tokens. I am following the below link http://www.magentocommerce.com/api/rest/authentication/oauth_authentication.html Can u tell me what s the ...
Sundar's user avatar
  • 699
17 votes
1 answer
4k views

Not able to get OAuth token for Magento Rest API Client

I am using Magento version 1.9.1.0 and server running on my mac and trying to use Magento Rest APIs using OAuth Integration. I have a consumer key and consumer secret. Now, I want to get OAuth token ...
Bhavna Gupta's user avatar
3 votes
1 answer
945 views

Getting current customer in custom REST API module

I'm trying to build a series of custom requests for an Android app. Specifically I need to make use of the current customer Id in several of my requests. I've only been using magento for a few weeks, ...
Nevuroth's user avatar
1 vote
0 answers
100 views

Using Magento API(REST) via IXMLHTTPRequest COM Object

We have downloaded Magento Community Edition ver 1.9.1.0 and installed it in XAMPP ( PHP Version 5.5.15 ). Also we have included "php_oauth.dll" in php.ini and copied file(dll) to PHP/ext directory. ...
IIG81's user avatar
  • 11
1 vote
1 answer
5k views

Access Pre-Authorized Rest API

I'm trying to call Magento REST API with pre authorized access token, I thought it would be easy but for some reason i cant get it to work, i mean i have the four components required, the consumerKey, ...
Yehia A.Salam's user avatar
2 votes
2 answers
1k views

OAuth for REST API using PHP

I'm looking for a working example of a PHP script for authentication using OAuth. I have followed the testing instructions here (http://www.magentocommerce.com/api/rest/testing_rest_resources.html) ...
user2636834's user avatar
8 votes
1 answer
2k views

Getting started with Magento REST API

So the official documentation is very terse (bad!), particularly for someone who hasn't worked with REST/Oauth in the past. I'm using Magento 1.8.1 CE. Can somebody provide a simple PHP example of ...
user2636834's user avatar
5 votes
2 answers
4k views

Magento REST API: What populates the api2_acl_attribute Table?

I'm trying to run through the oAuth/REST examples on the Magento website and I'm hitting a snag. I've successfully created a consumer key and a consumer secret, and used these to fetch an ...
Alana Storm's user avatar
  • 44.4k