All Questions
25 questions
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,...
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!
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 ...
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 ...
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?
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 ...
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
[...
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 ...
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=...
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};
...
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
...
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'...
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 ...
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 ...
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'...
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 ...
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.
...
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 ...
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 ...
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.
...
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, ...
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) ...
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 ...
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 ...
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:/...