Skip to main content

Questions tagged [oauth]

The tag has no usage guidance.

49 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5 votes
1 answer
428 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
5 votes
1 answer
984 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
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,469
4 votes
1 answer
558 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
  • 175
4 votes
0 answers
95 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
4 votes
1 answer
72 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 ...
mohsin's user avatar
  • 41
3 votes
0 answers
491 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
3 votes
0 answers
544 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
2 votes
0 answers
177 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
2 votes
0 answers
1k views

Composer install .zip could not be downloaded

When I run composer install I get the error message: [Composer\Downloader\TransportException] The "https://repo.magento.com/archives/magento/module-invitation/magento-module-invitation-100.3.5.0.zip" ...
Armando Silva's user avatar
2 votes
0 answers
1k views

Magento 2.3.4 and OAuth 1 oauth_problem=Consumer+key+has+expired

I'm going crazy with OAUTH1 and Magento 2.3.4 (Ubuntu + Nginx 1.14 + PHP 7.3) I get always oauth_problem=Consumer+key+has+expired My Backend configs: I've configured an Integration (System -> ...
Tarichecco's user avatar
2 votes
0 answers
224 views

How to correctly use "self" resource in Magento 2 webapi.xml

I have created some endpoints in a module that have a resource of "self" When I call the request using a jQuery ($.post) I get an Not allowed to accesses resource "self". These requests are done on ...
Logic4Life's user avatar
2 votes
0 answers
228 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,508
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
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,627
2 votes
0 answers
135 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
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 ...
Prim's user avatar
  • 121
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
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
1 vote
0 answers
767 views

Magento integration will not activate

I created a new integration, when I want to activate it, I do get a login pop-up from the external party. I enter my credentials and I got the following message, but the integration is not activated: ...
Michiel's user avatar
  • 105
1 vote
1 answer
507 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
1 answer
208 views

Failed to Open Stream Error with OAuth token exchange example

I am following the OAuth token exchange example here running on Magento 2.4.1 on MAMP I created an integration and copied the 4 PHP files at the root of the server. I create an integration and set it ...
user1368677's user avatar
1 vote
1 answer
4k views

How do I provide a valid OAuth/NLAuth authorization header for NetSuite?

Being new to NetSuite and Post Man, I wanted to get my very first RESTlet up and working using Token Based Authentication which I have already set up, therefore I have: Account ID Application ID ...
Joseph Candava's user avatar
1 vote
0 answers
1k 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 ...
M.spring's user avatar
1 vote
1 answer
229 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 ...
Prajakta's user avatar
1 vote
4 answers
1k 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%...
maniramav'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
1 vote
0 answers
302 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 ...
marchelloua's user avatar
1 vote
0 answers
63 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 ...
leo's user avatar
  • 1,246
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
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 ...
Jamesla's user avatar
  • 111
1 vote
0 answers
80 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 ...
Joannes Vermorel'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
0 votes
0 answers
66 views

Magento Getting Error "The signature is invalid. Verify and try again"

I am trying to use OAuth 1.0 in Bash script and I am getting error "The signature is invalid. Verify and try again". Can someone please let me know how to generate valid signature using bash....
Amit's user avatar
  • 1
0 votes
0 answers
68 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
0 votes
1 answer
580 views

How to generate oauth 1 "oauth/token/request" in magento 2?

I am trying to generate oauth 1 oauth/token/request for magento 2, I am using the below code $characters = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890'; $nonce = ''; ...
Deepak Mankotia's user avatar
0 votes
1 answer
585 views

Unable to generate request token using Postman

A request token is a temporary token that the user exchanges for an access token. I am unable to generate a request token using Postman for Adobe Commerce using Consumer Key and Consumer Secret which ...
Amrita's user avatar
  • 1
0 votes
1 answer
966 views

Do Magento 2 Integration OAuth Access Tokens Never Expire?

Hi I just want to make sure that if I created an integration via OAuth authentication I would use the access token of which for Magento 2 API calls. It is my experience that they never expire, is ...
user1368677's user avatar
0 votes
2 answers
562 views

Magento 2.2 integration callback URL is not receiving OAuth data

I'm trying to implement OAuth 1.0a in Magento 2.2. As per Magento docs, I created an integration, providing a Ngrok URL that points to localhost:8080 of my computer as the callback URL. However, when ...
Pavindu's user avatar
  • 101
0 votes
1 answer
836 views

The attempt to post data to consumer failed due to an unexpected error. Please try again later. Search Reset Filter

Сannot activates an integration of Magento 2.4 with my application on the localhost. I want to activate Magento integration for testing OAuth-based authentication, but I get the message: "The ...
Sergei Savchenko's user avatar
0 votes
0 answers
101 views

Change the URL that integrations use in Magento 2

I'm Currently using Magento 2.3.4 and have a WAF setup which essentially functions as a reverse-proxy, which means that the integrations will not connect due to the site pointing to a different I.P. ...
CJNotts's user avatar
  • 402
0 votes
1 answer
57 views

Does Magento support Oauth for customers?

I went through the documentation at https://devdocs.magento.com/guides/v2.4/get-started/authentication/gs-authentication.html But it's not clear to me whether I can use it for customer authentication....
Davis's user avatar
  • 1
0 votes
2 answers
741 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
0 votes
0 answers
362 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
0 votes
1 answer
3k 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?
Abhay Sarkar's user avatar
0 votes
1 answer
488 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,665
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
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
0 votes
0 answers
176 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 ...
Carson Reinke's user avatar