Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
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
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
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
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
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
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
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
2 votes
1 answer
266 views

Magento 1.7 doesn't return token key

I installed magento 1.7 and test for rest api according to this link. http://www.aschroder.com/2012/04/introduction-to-the-magento-rest-apis-with-oauth-in-version-1-7/ When I request to this http:/...
ZMH's user avatar
  • 21