Questions tagged [authentication]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
2 answers
18 views

Local setup after disabling Magento_TwoFactorAuth admin panel still ask for Security Code

After local setup, I have disabled Magento_TwoFactorAuth and changed the value of Magento_TwoFactorAuth to 0 in config.php and still can't log in to the admin panel Security Code: After changing ...
  • 1
0 votes
1 answer
37 views

Authentication Required Payment Failure

We are getting an increasing number of payment failures through our ecommerce website due to "Authentication Required" Our customers' banks say the issue is not on their end and that the ...
0 votes
3 answers
468 views

Magento 2 How to use header variable in resolver?

I have created one graphql extension for customer OTP send and verify for login with OTP in the project's POS app. There are two requests When POS app request OTP with customer_id and pos session_id, ...
0 votes
0 answers
51 views

Getting the Admin Token from database

I am building an API service in laravel and i need to authorize the request against the magento 2 admin token. Point is i can't find the admin token in the database. I know about the integration "...
1 vote
1 answer
167 views

Magento 2 : How to correctly return 401 unauthroized in graphql request

Existing Magento GraphQLExceptions return 200-th http code. What would be a correct way to throw 401 for example? Or at least show custom status code in response.
0 votes
0 answers
56 views

Laybuy Payment transaction is not working in Magento 2.4

I have installed Laybuy extension from here https://github.com/Laybuy/Magento-2-Latest on checkout page it redirects to cart page and on log it shows this error : [2022-02-08 07:08:34] Laybuy Logger....
  • 586
0 votes
2 answers
313 views

How to add products in Magento 2 using Magento 2 REST API?

How to add products in Magento 2 using Magento 2 REST API. I am using http://127.0.0.1/mag/rest/default/V1/products this url in postman but it gives me this error: { "message": "...
  • 586
0 votes
0 answers
47 views

Is there any way to log in to the frontend without going through the log in page?

I am trying to implement some UI tests written in selenium. There are a number of test cases which rely on the user being logged in. If I use the frontend login form to log in, and one day I find the ...
  • 1
1 vote
1 answer
194 views

Installation failed, reverting ./composer.json to its original content. Authentication always fail even though the credential are correct in magento 2

I am alwaays getting the below error when running composer require like that. I am currently giving the authentication keys but still it displays error. Please help Installation failed, reverting ./...
0 votes
2 answers
1k views

how to show customer authentication popup when clicking on checkout button in minicart while guest checkout is enable mangento 2

I want to check if a user is logged in before proceeding to checkout. On the basis of customer login condition, i want to show the login popup if not login, and redirect to checkout if logged in ...
  • 101
3 votes
1 answer
126 views

Why do authentication tokens only last an hour / How can I persist a user

I'm using magento 2.3 in a headless way via their rest & graphql api's. By default the auth tokens you get from magento (according to https://devdocs.magento.com/guides/v2.3/get-started/...
  • 31
0 votes
0 answers
212 views

Authentication Popup Close Icon and Background in Porto Theme

I am using Porto Theme (Magento 2.3.3) and I disabled guest check out. When the user clicks the "Proceed to Checkout" button, authentication popup opens but it has no background and there is a square ...
1 vote
1 answer
175 views

what type of authentication i need to use laravel to magento

I want to use Laravel as frontend for Magento 2 . And I want to use Rest API for that. I have seen below authentication types are there. 1.Session based 2.Token based 3.Oauth based. Which one I ...
0 votes
1 answer
264 views

Magento 2.3 customer beforeAuthenticate plugin not working

I am facing allowed memory size of bytes exhausted when ever trying to login customer in magento 2.3.2 I have used beforeAuthenticate plugin to do some functionality after sometime customer can not ...