Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Make your voice heard. Take the 2019 Developer Survey now

Questions tagged [oauth]

The tag has no usage guidance.

0
votes
1answer
133 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 ...
0
votes
0answers
32 views

Magento 1.9 REST API using Zend_OAuth - Error code (500) & Service temporary unavailable

I am using "Magento REST service using Zend_OAuth_Consumer", in order to fetch the product. I have followed the link - https://inchoo.net/magento/consuming-magento-rest-zend_oauth_consumer. My ...
3
votes
0answers
66 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 : ...
4
votes
0answers
46 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 ...
3
votes
0answers
144 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 ...
0
votes
0answers
10 views

synchronize magento's customers with other platform that has it's end point with OAuth credentials available to connect by

I need to send newly registered customers as they had just successfully registered to an another e-commerce platform for synchronization purposes. The last has it's own end point api with OAuth ...
1
vote
0answers
259 views

Invalid Login attempt while accessing Netsuite using SuiteTalk(Web Service)?

I am trying to get data from NS using WS. for that I'm using the following details in SoapUI: WHEN I SEND THE request I get the following response : Anyone had success with this or have any idea ...
0
votes
0answers
11 views

How to change google login scope in magento 2

Please help, how to change google oauth scope, I want to discart "contacts" scope (https://www.googleapis.com/auth/contacts and https://www.google.com/m8/feeds) I use magento 2.1.11
2
votes
1answer
334 views

Oauth 2.0 in Magento 2.2 with how to access the token

Can please give example to access the magento 2 api by using oauth 2
0
votes
0answers
19 views

MagentoV2.0: oauth_version error for getting access_token

I am trying to get access token for MagentoV2.0 using OAuth1. I am referring https://devdocs.magento.com/guides/v2.0/get-started/authentication/gs-authentication-oauth.html. I could get the request ...
1
vote
1answer
166 views

Unable to get access_token for Magento2.0

I am doing OAuth1 authentication for Magento2.0. I am referring this doc: https://devdocs.magento.com/guides/v2.0/get-started/authentication/gs-authentication-oauth.html. I am trying to do this ...
1
vote
1answer
58 views

Unable to get oauth_verifier for Magento2.0

I am unable to get oauth_verifier for Magento2.0 which is needed to get the access_token I am trying to get the access token using POST /oauth/token/access which requires oauth_vefirier as one of the ...
1
vote
0answers
52 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
0answers
158 views

Magento 2 Rest API Returns 403 Error, Even The Admin Role Is Correct

I'm trying to update the stocks with rest API. Codes are ok in my opinion, and AUTH user's role is definitely 'administrator'.. but I'm still getting 403 error. Here is my recent code: <?php ...
0
votes
1answer
83 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!
0
votes
0answers
87 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 ...
1
vote
1answer
128 views

Magento 2 oauth request token Error

I having issue to request token with oauth https://www.host.com/magento2/oauth/token/request Error: oauth_problem=oauth_consumer_key+is+a+required+field%2C+oauth_signature+is+a+required+field%...
1
vote
1answer
303 views

Magento 2 Oauth request token - oauth_problem=Invalid+signature

Magento 2 Oauth error invalid signature while try to get request token from postman
3
votes
1answer
216 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 ...
0
votes
1answer
418 views

Magento 2 Oauth 2.0 with postman

I want to make an authorization through OAuth 2.0 through postman. I have setup an integration now what should I do next?
1
vote
1answer
73 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($...
0
votes
0answers
113 views

Getting HTTP 401 when attempting to upload image

I am attempting to upload images to Magento through the REST API. I log into the api by posting to the following url: https://[Domain]/rest/[store]/V1/integration/admin/token I get a token back in a ...
0
votes
0answers
26 views

Quote address not correctly set and synced with client

We're trying to update the current cart's address of a just logged in/registered customer so that the VAT is correctly calculated according to the VAT number + country the user specified. Our ...
2
votes
0answers
27 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 ...
0
votes
1answer
294 views

Integration not being activated

I want to create an integration with my own external application via OAuth 1.0. I have added an integration in System > Extensions > Integrations. Callback URL: <my-external-application-url>/...
1
vote
1answer
1k 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
1answer
486 views

Magento 2 OAuth API - Consumer key has expired

I've created an integration in System->Extensions->Integrations and allowed all access. I'm using Postman to test the API, but I'm getting error: Consumer key has expired. I've tried cache:...
1
vote
0answers
157 views

Magento ver. 1.9.3.6 - oauth

I've installed magento ver. 1.9.3.6 on Ubuntu 16.04.3 LTS (Apache2, php 5.6.32). I'm able to get SOAP api data using http://magento.local/api.php?wsdl=1 However, my need is to make REST api work ...
1
vote
1answer
737 views

How to configure postman with magento 1.9 complete beginner

I don't know how to configure my Magento 1.9 with the postman. I don't know how to check my API for postman (or any else). I need to complete my work within 1 day but I don't know anything about ...
0
votes
0answers
43 views

Newly Added Integration : Inactive : Magento 2

I am new to Magento. I tried adding a new integration for OAuth authentication, but the newly created integration is inactive even after activating it. Can someone please help me with this issue.
2
votes
1answer
336 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
1answer
253 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?
3
votes
1answer
38 views

life-span and scope of oAuth Acess token

I'm working on Magento OAuth for integration with a third party app.I have a couple of questions: For how much time span an access token remains valid? What is the scope of token based authorization ...
0
votes
1answer
323 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
0answers
333 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 ...
4
votes
1answer
2k 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
1answer
258 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
1answer
1k 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
0answers
30 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
1answer
683 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
0answers
250 views

Can't able to get access tokens in Mangeto 1.9

I am trying to get the permanent access_token and access_token_secret from Mangento 1.9. I have consumer_key and consumer_secret and have configured the required permission by following this link ...
0
votes
1answer
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 ...
3
votes
1answer
723 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
2answers
2k 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( "...
4
votes
1answer
2k 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
0answers
1k 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 ...
3
votes
1answer
5k 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 ...
2
votes
2answers
2k 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....
4
votes
2answers
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
3answers
2k 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. ...