Questions tagged [oauth]
The oauth tag has no usage guidance.
100
questions
3
votes
0
answers
531
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 ...
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
[...
5
votes
1
answer
425
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&...
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 ...
1
vote
0
answers
60
views
What is mean by oAuth type "access" or "verifier" in Magento2?
In oauth_token table, what/how records are associated with "consumer_id" or "admin_id" ? I created a profile in system > integration , and that recordd has consumer_id but not admin_id
Also, what's ...
1
vote
1
answer
1k
views
Rest api oauth token empty
I'm trying to use REST API access. I followed all the guides found to enable the api and oauth functionalities.
I'm using this code to retrieve the access and then make the request
<?php
class ...
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 ...
5
votes
1
answer
959
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 ...
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(
"...
5
votes
1
answer
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
0
answers
2k
views
Magento oAuth : Generating access token and access secret
I understand that the authentication endpoints include the following ones:
/oauth/initiate - this endpoint is used for retrieving the Request Token.
/oauth/authorize - this endpoint is used for user ...
6
votes
1
answer
9k
views
How to acquire access token for an integration in Magento2
In Magento2 when you create an integration, how do you get an Access Token? It seems OAuth is the recommended approach for a third-party service, per the documentation. Getting an Access Token is a ...
4
votes
2
answers
6k
views
Magento 2: Where does the oAuth verifier token come from
Per the developer documentation, when making a request for an access token, you need to include a verifier token
oauth_verifier. The verification code that is tied to the consumer and request token....
3
votes
2
answers
2k
views
Where in Magento 2's Backend Can you Change the Expiration Time for an oAuth Token Request?
As per Magento's developer documentation site
This is the first step in the 2-legged Oauth handshake. However, you must use these credentials to get an access token in fewer than three minutes or ...
4
votes
3
answers
4k
views
Magento 2: How can I Revoke an Authorization Token
Per the Magento 2 developer documentation
When you make web API calls, you supply this token in the Authorization request header with the Bearer HTTP authorization scheme to prove your identity. ...
1
vote
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};
...
5
votes
2
answers
552
views
What am I missing with OAuth token exchange process?
Magento has two important documents that outline how OAuth 1.0a authentication/authorization works (here and here). There also appears to be a Magento sponsored example of OAuth.
There are two ...
9
votes
1
answer
665
views
Magento OAuth callback url ignored
I was working on a user authentication within an App i'm building. The idea is that I will have customers login via the OAuth of Magento and afterwards it must get the Customer_id of that user.
But ...
0
votes
0
answers
175
views
Initiating OAuth Integration From An Extension
Reading the Magento guides only leaves a bit clueless how to easily to setup a OAuth access with an Extension.
The confusion is mostly is these 3 vague statements:
"You can register Integration ...
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 ...
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 ...
6
votes
1
answer
3k
views
Magento 2: Soap Credentials
Poking around the codebase and some questions here it looks like Magento 2 -- much to the chagrin of certain segments of the web development community -- will still support SOAP API endpoint. (...
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
1
answer
250
views
Magento Authentication
I have 2 sites. A Magento store and a site that was created in asp(on a subdomain). I'm looking to be pointed in the right direction as to how i can achieve the following:
When being logged into ...
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 ...
1
vote
0
answers
50
views
Logs not working on new Magento install
I have just installed Magento 1.9 on Nginx and Ubuntu.
Everything seems to be working ok however when trying to access /oauth/initiate I am getting an HTTP 401.
I want to view the logs so I can find ...
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 ...
1
vote
0
answers
77
views
How to grant Oauth access to API without cut-and-pasting the consumer key?
The documentation about the OAuth API looks very fuzzy on one point: how the client app is supposed to get the consumer key in the first place?
Indeed, let's say we have a webapp (SaaS) named FooX ...
1
vote
0
answers
192
views
Not showing images of Instagram in Approved Instagram Images tab in Magento1.9 [closed]
It has been set with "Client ID" and "Client Secret" and also "Redirect URI" in magento1.9 admin by registering API form in Instagram. After then it is be authenticated by clicking "Auth on Instagram" ...
2
votes
1
answer
567
views
Magento OAuth - Automatically log customers in from external site
Basically I have a Magento installation that an external company is filling with customers as they sign up for their external customer portal using an API.
When a user is logged into this companies ...
0
votes
1
answer
164
views
Missing Oauth module from core
I've been asked to look at a store with version 1.7.0.0 reported in the footer of the admin. The store received a patch notification and I am attempting to apply the patch and get messages about ...
7
votes
3
answers
4k
views
oauth_signature invalid error while using Magento Rest API with GET filters
I'm having a hard time fetching orders from Magento REST API when I use its GET filters like http://localhost/magento/api/rest/orders/?filter[1][attribute]=entity_id&filter[1][gt]=70&page=1&...
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 ...
3
votes
1
answer
939
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, ...
1
vote
0
answers
99
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, ...
5
votes
1
answer
7k
views
OAuth - 401 oauth_problem=signature_invalid
I try to authenticate against a magento server (1.7.0.2) REST API using OAuth. I am using the java scribe api.
But I got always a http error 401 'signature_invalid'.
This is the complete debug ...
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
265
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:/...
2
votes
1
answer
732
views
What version supports REST API/OAuth
What is the minimum version of Magento that exposes/supports a REST API and OAuth support?
Is there any support for REST API and OAuth in Magento 1.5.1?
5
votes
1
answer
2k
views
Added product via REST API OAuth not retrieved and not able to update via REST API
After adding product to Magento run http://mymagentohost/api/rest/products/40 it will return Resource not found but if just open product from Magento and click on save (without changing anything) than ...
1
vote
1
answer
4k
views
Oauth Error while extending Magento Rest API
I am working with Magento Rest API for the first time, i went through the tutorials of Rest API on http://www.magentocommerce.com/api/rest and tried one example to fetch product through API:
$...
1
vote
1
answer
6k
views
OAuth: How to add magento product using oauth rest api from external php script
I'm new in Magento, I want to add Magento product from my CodeIgniter (external php script).
I have created Web_Services->OAuth_Consumers and get key and Secret.
what is the next step? (also set ...
9
votes
1
answer
7k
views
How to access the Magento API from native client with JavaScript
I need to access the Magento API from a local JavaScript based application (Titanium Desktop) and wondering what's the best way to do so.
What I found out so far:
The only authentication mechanism ...