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

Questions tagged [token]

The tag has no usage guidance.

1
vote
0answers
18 views

Create and update rp_token in Magento 2

I'm trying to create customer account manually in my custom module. Customer account is getting created successfully and welcome email is sent to the new customer using $customer->...
0
votes
0answers
21 views

Password reset tokens doesn't work behind load balancer

I am trying to share a site between two servers behind a load balancer. When I enable both web servers I have a small issue which is that password reset's don't work half the time. After some testing ...
0
votes
0answers
12 views

Share api token between servers

I'm sharing a site between two web servers behind a load balancer. While testing I would randomly get this error: Consumer is not authorized to access %resources If I am sharing a database and the ...
0
votes
1answer
27 views

getting “Consumer is not authorized to access %resources” when using rest API in magento2

AUTH REST API: if(isset($_POST)){ print_r($_POST); $email=$_POST['email']; $pass=$_POST['pwd']; //$email='memotest@gmailtest.com'; //$pass='memo@123'; $userData= array("username"...
2
votes
1answer
43 views

Mage 2 Customer Token Error For Some Accounts

I have website with 5 customer test accounts. REST API calls have been working for a while now w/o a problem. Today, one customer account cannot get the customer token via REST API call (API response ...
4
votes
2answers
120 views

Get customer details by using Authentication Token

I use this Magento 2 rest api to get customer token: curl -X POST "https://my.project/rest/V1/integration/customer/token" \ -H "Content-Type:application/json" \ -d "{"username":"me@awesome....
2
votes
1answer
111 views

Magento 2 : How to programmatically create and display bearer token on admin screen?

Is it possible to create and display a bearer token in my custom admin setting screen for my plugin?. In short, I want to be able allow customer to install my plugin, copy a Bearer Token from the a ...
1
vote
0answers
254 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
105 views

Access token expires after 1 day

I am using the Quickbooks API for my application and I have used https://intuit.github.io/QuickBooks-V3-PHP-SDK/authorization.html generate-oauth-2-0-tokens for token generation. The token is ...
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 ...
0
votes
0answers
29 views

How to get Orders using Customer Token?

I want to access orders using customer token in rest API of Magento. Is it possible?
0
votes
0answers
18 views

Why Admin detail is showing in frontend

Authentication of admin is showing when I will generate a token for creating a customer in the frontend. This admin detail is showing in network security. How to hide this detail from the user in ...
1
vote
0answers
116 views

Magento2 REST API token validity

As magento2, provides rest service to generate token for customer rest/V1/integration/customer/token Token expiration is provided from here We are planning to use headless magento approach, with ...
0
votes
0answers
29 views

Why customer token is expire in magento 2.1.12

I will disable Customer_token_expiration_time in magento 2 from admin panel. But if i don't use front-end sometime, it showing unauthorized token error. what is issue?
-1
votes
2answers
545 views

You did not sign in correctly or your account is temporarily disabled. In Magento 2 Admin panel Token

I am getting this error "You did not sign in correctly or your account is temporarily disabled" during generating admin token in magento 2.1.12. But admin panel is login with same username and ...
0
votes
4answers
898 views

Magento 2 token integration error

I can able to get token from http://example.com/magento2/rest/V1/integration/admin/token with Username & Password. Using this token, I can request product details on http://example.com/magento2/...
1
vote
1answer
126 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%...
0
votes
0answers
112 views

Access token in Integration gives unauthorized access error

While using Access token generated by adding Integration in admin, it gives error:The requested URL returned error: 401 Unauthorized public function create_promotion($value='') { $...
0
votes
2answers
717 views

SOLVED - Api token request Curl returns NULL

I am trying to get a token from my Magento 2 API, my script returns NULL, the call is working fine in Postman and generating a token : $adminUrl='https://www.xxxxxxx.com/rest/V1/integration/admin/...
0
votes
0answers
38 views

Magento 2 - Is their any possibility to login the customer with token

Is their any possibility to make customer login with the token generated. Using Rest API in Magento 2. I have to pass like http://localhost/pranay/rest/V1/integration/customer/token?access_token=...
0
votes
0answers
25 views

For customer token creation by REST Api,Token is been return unknow format or extra length. In magento 2

For customer token creationby REST Api,Token is been return unknow format or extra length. In magento 2,Can anyone have any idea why it is return unknow length or so.Please find the below screen shot....
3
votes
1answer
215 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
169 views

Is their any Way to create client token for braintree with api in magento 2

I would like to generate a client token for brain tree paypal payment as a response,How can i solve,please any idea.any help would be appreciated.
0
votes
0answers
395 views

Request does not match any route

When I try to get admin token then following error occurs. { "message": "Request does not match any route.", "trace": null } Url: http://scastage.followthetiger.com/index.php/rest/V1/...
0
votes
1answer
54 views

Customer Access Token

I am trying to get the customers Access Token while they are logged in to our Magento 2.1.8 site while using a custom module I am developing. I have been following the official Magento 2 tutorials ...
1
vote
0answers
157 views

Braintree & Magento 2.2 Client Tokens

Please forgive my ignorance. I've been successfully building & managing Magento 1 stores for a few years and I usually manage to muddle my way through server configurations & installs with ...
1
vote
0answers
117 views

Magento 2 Payment not being captured [closed]

I have a problem with OnePageCheckout. Using Magento ver 2.1.8, AheadWorks OnePageCheckout extension and World Pay as a payment gateway. I get this error: Payment failed, please try again later One ...
1
vote
2answers
3k views

how to access token of REST Api in magento 1.9.3.1?

Hi i searched the around google about this, but nothing find. can anyone help me to access the token from rest api in magento. I tried this code in a php file on root and getting blank screen(no ...
1
vote
3answers
489 views

Magento 2 : Override crontab.xml

I need to override a crontab.xml from: vendor/magento/module-integration/etc/crontab.xml <job name="expired_tokens_cleanup" instance="Magento\Integration\Cron\CleanExpiredTokens" method="...
1
vote
1answer
508 views

Get User Details by Access Token From Admin

I have two servers which are written in yii2 and magento respectively. The yii2 application has file module and magento has commerce and user module. the current problem is whenever user needs to ...
1
vote
1answer
674 views

magento 2 view model set payment additional data before place order

I am adding a token in payment additional data getData: function () { return { 'method': "pay_cc", 'additional_data': { 'token_code': ...
1
vote
1answer
434 views

how to capture braintree using customer token in magento2

I enabled vault feature in Braintree.In frontend by default customer should store their credit card(force fully) at checkout. For example, the customer places an order value with $100. Now I ...
4
votes
1answer
2k views

Magento2 How to set expiration time for token

I Have generated a token for API calls by using following code : curl -X POST "http://magento2.ce/rest/V1/integration/customer/token"\ -H "Content-Type:application/json"\ -d '{"username":"john@...
1
vote
1answer
149 views

Magento 2.1 - validate an admin auth token in external script

I need to use admin actions from an external script, currently i post username and password of the admin with every task , validate them, and then do the task. Is there a way to use an authentication ...
1
vote
1answer
1k views

How to Create Access Token in Magento 2 integration

I have created one new Integration and gave access but i did n't get Access token is there i doing anything wrong let me help to resolve this issue
3
votes
1answer
37 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 ...
1
vote
0answers
382 views

Token based authentication for customer in magento1.x

How to implement token based authentication in magento1.x for customer similar to Magento2. For example rest api as {base}/rest/V1/integration/customer/token ?
0
votes
1answer
550 views

Magento2 how to generate token for SOAP API

I tried to generate token for magento2 SOAP API but i am getting below error Error: Fatal error: Uncaught SoapFault exception: [SOAP-ENV:Server] SoapServer::SoapServer(): Invalid parameters in /var/...
2
votes
0answers
70 views

Error Using HTTPS to get the authentication token for Magento2 Rest

I am using Magento2 Rest API with token-based authentication. http://example.com/index.php/rest/V1/integration/admin/token It is working when using HTTP. However it doesnot work with HTTPS. SSL ...
4
votes
1answer
3k views

Magento 2: Force Sign-In not working

I'm already logged in the frontend of my website. Then I go to Admin -> Customers -> Edit My Customer & Click on Force Sign-In It gives below error This customer has no tokens. The user ...