9
votes
Accepted
Magento 2: Soap Credentials
Alan, you are right, SOAP framework is completely different from the one in Magento 1 and was created specifically for Magento 2 needs to have Service layer interfaces same for REST, SOAP and PHP ...
6
votes
Accepted
How to acquire access token for an integration in Magento2
Just starting out with Magento2 I found this to be pretty painful to figure out. It took me about half a day! To be fair, Magento has the appropriate documentation you need here...
The problem is it'...
6
votes
Accepted
Where in Magento 2's Backend Can you Change the Expiration Time for an oAuth Token Request?
I think what you're looking for can be found under Admin > Stores > Configuration > Services > OAuth tab:
The interesting thing is that default value is not 3 minutes but actually 5 minutes (300 ...
4
votes
Accepted
Magento 1: Where is oauth_admin.php
oauth_admin.php is just a stand-alone PHP Oauth client script which can be your callbackurl. You can replace this with your controller and action url path. Its involved in all the three legged ...
3
votes
Accepted
Cannot Create OAuth Consumer
I figured out my issue. In System -> Configuration -> Advanced -> Advanced, I had to enable Mage OAuth. Then I had to go to System -> Cache Management and run Flush Magento Cache. I was unaware that ...
3
votes
Where in Magento 2's Backend Can you Change the Expiration Time for an oAuth Token Request?
Kindly navigate to below path to change the oauth related settings from admin panel
Stores -> configuration -> services -> oauth
3
votes
oauth_signature invalid error while using Magento Rest API with GET filters
Did you managed to Encode the names and values of parameters?
I was having this issue too and this helped me.
You have to make sure that your signature base string parameters are in alphabetic order ...
3
votes
OAUTH Flow in Magento2
Magento2 uses 2-legged oAuth Handshake in order to retrieve oAuth tokens by the remote integration.
Here is documentation
3
votes
Accepted
Magento 2: How can I Revoke an Authorization Token
It is actually just the Force Sign-In on the User Info section of the users page.
3
votes
Accepted
Access Token Expiration settings have no effect
I found the solution. There is another setting here:
I set the expiration here to 600 minutes and it works perfectly.
2
votes
Authorization failed during category creation using REST API
The problem is you are trying to access protected admin resource without authentication.
The easiest option for you would be to get access token using the following request:
curl -X POST "https://...
2
votes
Accepted
What am I missing with OAuth token exchange process?
This issue is resolved in the latest version of https://github.com/magento/magento2 (and will be available in 2.1.0 I suppose).
Now consumer_id is replaced with oauth_consumer_key in all requests. ...
2
votes
Magento 2: How can I Revoke an Authorization Token
I reckon the controller action class related to what you're looking for is Magento\User\Controller\Adminhtml\User\InvalidateToken.php:
public function execute()
{
if ($userId = $this->...
2
votes
Magento 2: Where does the oAuth verifier token come from
Magento 2 uses OAuth 1.0 based authentication for web APIs. At the first instance by looking on the documentation you will feel messed up. But if you have somewhat background of OAuth, you will easily ...
2
votes
Accepted
Magento 2: Where does the oAuth verifier token come from
Think I've got this one figured out. When you authorize an integration, Magento makes a POST to the integration's callback URL. This information includes the verifier token.
Called Array
(
[...
2
votes
Magento2 soap/rest api for third-party consumer
They are using 1.0 (from the dev docs):
Magento OAuth authentication is based on OAuth 1.0a, an open standard
for secure API authentication. OAuth is a token-passing mechanism that
allows a ...
2
votes
Magento 2: Successful oAuth/Integration Flow
We implement the oAuth request token from openAM and created the new user in Magento2. As we manage user groups and role in our system and using oAuth token to validate it. Hopefully this will help ...
2
votes
Magento 2 Oauth Integration Error
You can place the OauthClient.php along with the other three files in your application.
You just have to add the following line in your checklogin.php
require 'OauthClient.php';
2
votes
Magento 2 Oauth request token - oauth_problem=Invalid+signature
If you supply all of those values, you don't have to use the access or request routes. postman will take care of the rest.
Typically I've noticed that some routes are slightly different; ie.
use:
...
1
vote
Accepted
Connecting to Magento Rest API by python
This is a good resource to start
https://pypi.python.org/pypi/python-magento/0.1.0
Ant then you can check the list of Magento methods from here:
http://devdocs.magento.com/guides/m1x/api/rest/...
1
vote
Accepted
Magento 2 OAuth API - Consumer key has expired
It seems as though Magento 2.2.3 has a Bug:
https://github.com/magento/magento2/issues/13961
1
vote
How to configure postman with magento 1.9 complete beginner
Here is a quick Magento 1.x official guide for API Testing: You can use mozilla firefox plugin.
http://devdocs.magento.com/guides/m1x/api/rest/testing_rest_resources.html
1
vote
Accepted
Get Customer Login into Magento1.9.x mobile app using REST api
Please check this article hope this will help you
http://www.ipragmatech.com/magento-mobile-app-rest-api/
1
vote
Rest api oauth token empty
This seems a problem of mod_rewrite OR SymLinks.
Please enable mod_rewrite :
sudo a2enmod rewrite
Now edit apache config file :
sudo gedit /etc/apache2/apache2.conf
and replace this code :
<...
1
vote
Magento 2: How can I Revoke an Authorization Token
protected $_customerTokenServiceFactory;
public function __construct(\Magento\Integration\Model\CustomerTokenService $customerTokenServiceFactory)
{
$this->_customerTokenServiceFactory = $...
1
vote
Not able to get OAuth token for Magento Rest API Client
You can get OAuth Token by using below details:
URL : https://magento.local/rest/V1/integration/customer/token
Header : Content-Type : application/json
Request Type : POST
**Params**---...
1
vote
Accepted
Authorization failed during category creation using REST API
Follow the steps defined in authentication guide provided by Magento.
http://devdocs.magento.com/guides/v2.0/get-started/authentication/gs-authentication.html
This guide is more elaborated and ...
1
vote
How to create oauth_signature for OAuth-based authentication using Magento 2.0 REST API
It is possible to use Access token as bearer token in Authorization header (OAuth 2.0 style), instead of creating signature (OAuth 1.0a style).
Header name: Authorization, Header value: Bearer ...
1
vote
How to create REST API in Magento 2?
Two high-level steps should be completed to create new REST API in Magento:
Create new service
Configure webapi.xml to expose this service as REST API
Then your service can be called as described ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
oauth × 102rest-api × 48
api × 42
magento2 × 41
magento-1.9 × 14
integration × 12
token × 9
magento-1.7 × 6
postman × 5
php × 4
extensions × 4
soap × 4
magento-1.8 × 3
magento2.2 × 3
magento-1 × 3
magento2.4 × 3
magento-2.1 × 2
magento2.3 × 2
magento-2.0 × 2
webapi × 2
web-services × 2
magento2.4.4 × 2
product × 1
admin × 1
javascript × 1