Questions tagged [login]

Denotes questions related to login (frontend, backend and api).

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

Magento 2 Customer Id is not updating after login

I have a form in the product view section. In this form, I am keeping the logged-in user's id hidden. First I log in as one customer and then log out from that account. Again I log in as another user, ...
0 votes
0 answers
23 views

Magento2 Admin Login Redirects to Login Page With No Error

I am using magento 2.3 version and i need to install SSL certificate to my domain. I installed lets encrypt certificate to my domain after that my admin is not logging in. It is showing login page ...
  • 502
1 vote
1 answer
14 views

Magento 2.3.5 admin login slow

I updated to Magento 2.3.5-p2 and now the admin login takes forever, sometimes minutes. Is this a known problem? Tried to find some information on Google, but found nothing. Is there a way to fix it? ...
1 vote
0 answers
14 views

Customer login fails with no message for old migrated (from M1) customers

I recently migrated a Magento 1.x store to Magento 2.x. All customers were migrated successfully, etc. But some customers can't login on the frontend unless they clean their cookies. I tried with my ...
0 votes
2 answers
21 views

Magento Admin After Login Redirect Back To Admin Login?

I'm using Magento 2.4.4, when I logged in to Magento admin it redirected me back to the login page without any errors. I checked logs but no errors in the log also, But I have 2 projects running on my ...
1 vote
1 answer
133 views

After updating to version 2.4.4, when I enter the admin panel, I get an error: "An error has happened during application run."

When I try to login to the admin panel, I get the following error: 'An error has happened during application run. See exception log for details.' After cleaning the cookies, the error disappears and ...
0 votes
2 answers
134 views

Magento2 admin login not redirecting to dashboard page

after upgrade from magento 2.3.3 to 2.4.4, Admin login not redirecting to dashboard page.no errors coming but it just stays in login page. Can anyone let me know what could be issue?
1 vote
0 answers
22 views

Magento 2 : Redirect to customer after login to previous URL

For ex. suppose I open this URL before login. https://d89a529178.nxcli.net/hbftextiles/cuttingapproval/cfa/edit/id/43080 Actual result: It opens up the login page, once I log in it redirects to the ...
0 votes
0 answers
20 views

Can't login to admin panel. Key keeps changing when attempting to login

My Magento store has been working perfectly fine for a few months now. However, today when I try to login to the admin panel I immediately get booted back out. I'm on 2.4.4 and the frontend is working ...
0 votes
0 answers
10 views

How to run a JS code as soon as a user logs in through checkout. Magento 1.9

Guys I need to run a code as soon as a user logs in through checkout. But I'm not getting it, precisely because it sends a request to "/customer/account/loginPost/" and the return is a ...
  • 197
0 votes
0 answers
34 views

Magenot 2 PWA app session time

I have a website, for which we are using PWA app, but the thing is ,I am unable to keep user logged in even after he close app. how to achieve this goal?
  • 60
0 votes
2 answers
61 views

Magento 2: Customer not able to login on multi-website second website

I have a multiwebsite on 2.4.3p1 with urls xyz.com and xyz.com/wholesale. The customer is not able to login from the wholesale website. It is redirecting to the login page. Any help would be ...
  • 161
0 votes
0 answers
64 views

404 "customer/ajax/login" in checkout login magento 2.4.3

In the checkout after put my email (Or put an email already registered) and put my password and click on enter, I can't login or keep going with the checkout for obvious reasons, it shows the loading ...
  • 21
0 votes
0 answers
65 views

Redirect user after social login

When the user is not logged in and want to go to checkout page this popup show up and if the user log in typing the email and password they are redirected to the checkout wich is /onepage route, but ...
0 votes
1 answer
21 views

Magento 2 how to make frontend customer logged activley for 5 days?

I have Magento 2.4.1. I want the to customer must be logged in for min 5 days once he logged in to my website. I tried with PHP setting session.gc_maxlifetime but that not working. Is there any ...
  • 1,197
0 votes
1 answer
135 views

magento 2.4 customer login time increase up to 1 year or more

i want to my customer login time increase when he is one time logged in after when he/she open browser it must logged in and i have below settings increased but not affecting in my store Go to System &...
0 votes
0 answers
41 views

Everything works except logging in on Magento 2 Multi-store, Multi-website setup

I have created an identical website/store (ID in database 8) to another existing website/store (website ID 2) and everything works except logging in. Magento 2.4.2-p1 Smartwave Porto theme extensions ...
  • 276
0 votes
0 answers
154 views

Magento 2 refresh admin correct credentials

I want to have a live Magento website (2.4.1) to my local machine but when I transferred the files from the server and downloaded the DB and go to the admin page he refreshes himself with no errors ...
3 votes
5 answers
1k views

Magento 2.4.3-p1 - can't login to admin panel

When i try to login to admin panel, there is no error, just redirection again to login page. I cleared my cookies, tried different browser and checked my cookie domain settings in db - they are set ...
  • 41
0 votes
1 answer
291 views

Logging in and registration in the pop-up/module on all pages in magento, excluding the login and registration page

I created an overwrite path in app/design/frontend/<name_vendor>/default/Magento_Customer/frontend/web/template/authentication-popup.html Here I understand that I can change the texts. Where can ...
0 votes
1 answer
104 views

How to add a newsletter checkbox into Magento customer login form

I want to add the Newsletter checkbox into the Magento2 Customer Login form, when the user clicks the submit button the form validated the email and password, and the newsletter checkbox's state (only ...
  • 3
0 votes
1 answer
49 views

Magento 2 : What is Purpose of Custom Varnish Synthetic Rule For Customer Ajax Login?

I have a situation where customer ajax login is not working even though the customer submits valid credentials. Instead, the page reloads and the customer is not logged in. To clarify, it DOES work ...
  • 1,119
0 votes
0 answers
31 views

ERROR for site owner: Invalid domain for site key for Gitlab Sign In

How do I solve this sign-in problem? When I try to Sign In in own GitLab server with already exit GitLab, it shows as I attached. I'm not sure it is a browser issue or not. Can anyone help me to solve ...
0 votes
2 answers
79 views

I get a blank page after adding $block->getLayout()->createBlock() to the Module?

I am trying to inject \Magento\Customer\Model\Session into the QuickOrder module. I want the page to show a different message when the user is not logged in. In the directory app/code/Magento/...
0 votes
1 answer
31 views

magento2.4 customer login

My Magento 2.4 Customer login redirects to customer login again and not login. also my list page doesn't show any product I Use all commands like reindex but not show and I need to solve these two ...
  • 721
0 votes
0 answers
105 views

How to debug that my all error message is not showing in Magento 2?

I have a Magento 2 Store. So i when i try to login with wrong cred. it just doesn't show me error its just reload the page like this. i have switched the theme but there is still the same issue on ...
  • 576
0 votes
1 answer
81 views

Error message is not showing on Login Observer?

The error message is not showing on Login Observer if the error occours. observer file is : <?php namespace Orbitx\Emailblock\Plugin; use Magento\Framework\Controller\ResultFactory; use Magento\...
  • 576
0 votes
1 answer
128 views

Magento 2 - Suddenly can't login into backend

I cant login to the backend anymore suddenly even though I made no changes. So I tried to created a new admin user via CLI but I get No Administrators role was found, data fixture needs to be run ...
  • 2,551
0 votes
1 answer
147 views

How to make user register but not login in magento 2.4

I want to make user register and redirect to login page in Magento 2.4. User not automatic login. I have created a plugin for that and created a file ( app/code/Registration/Redirect/Plugin/Customer/...
  • 576
0 votes
3 answers
190 views

Magento 2 - How to add redirect link to login link?

I created a new CMS site newsletter-abo and placed a text on it which shows this: Please login to access this site. The word "login" points to /customer/account/login. If the customer ...
  • 2,551
-1 votes
1 answer
263 views

How to remove checkbox for GDPR in Magento 2

I want to remove GDPR checkbox in Magento 2 Login Page. I want to remove that checkbox from login page it will come from ( app/design/frontend/Mgs/claue_child/MGS_GDPR/templates/customer/form/login....
  • 576
0 votes
3 answers
321 views

Before customer login check condition in magento 2.4

I want to if customer login and customer cart is not empty so customer redirect checkout page other wise customer login and customer cart is empty customer redirect my account page. Please help me, ...
  • 3,267
0 votes
1 answer
140 views

Login to Magento 2. from outside, with Guzzle, returns a invalid form_key

I'm trying to login to Magento 2, with a form which contains a "from_key". I scrape this form_key but I'm not able to successfully login. Has someone any idea how to make this work? This is ...
0 votes
1 answer
224 views

customer user name displayed on header bar when user logged out by session time automatically

I am building the magento 2.4 website By the way I am facing with below customer login issue "I had logged into the website with customer account I spent some times and I visited the site by the ...
0 votes
1 answer
161 views

Login caching and sessions

So were using this third party catalog thing which I don't like much at all. I won't get into all the details of my disliking but for starters it runs in an iframe. Now if a customer is browsing ...
0 votes
1 answer
247 views

Redirect to login page triggering even after customer logs in

I have a CMS page with content that can only be seen by logged in users. I have an if statement that checks $this->_sessionFactory->create()->isLoggedIn(); and if they're not logged in, this ...
0 votes
1 answer
60 views

magento 2.3 product hide and category hide for guest customer

i am using magento 2.3 and i want to products and category hide , if customer not login means i want to hide product and category page hide for guest customer and must be redirect to login page
0 votes
1 answer
40 views

User gets logged in but still shows error message in magento 2.3.3

My customer gets logged in successfully into their account but still magento shows error message. https://nimb.ws/GicM2b How to resolve this?
  • 720
0 votes
2 answers
94 views

Error occur while login admin panel in magento 2.4.2

Install Magento 2.4.2 Generate this error The account sign-in was incorrect or your account is disabled temporarily. Please wait and try again later, how to solve it.
  • 11
0 votes
0 answers
90 views

Magento 2 Redirect and display error in all admin page after click on "sign in"

I am trying to login in admin but it display "There has been an error processing your request". It generate error in like "Undefined offset: 2 in C:\xampp\htdocs\m24\lib\internal\...
  • 21
0 votes
0 answers
39 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
0 votes
1 answer
297 views

M2: How to add a canonical tag on the login page

These links are getting indexed: https://store.com/customer/account/login/referer/aHR0cHM6Ly9zdG9yZS5zbWFydGRlc2tzLmNvbS90ZXJtcy1jb25kaXRpb25z/ https://store.com/customer/account/login/referer/...
0 votes
1 answer
31 views

this error" Err_TOO_Many_Redirect" path is admin/noroute/denide?

this erro happend when user role change to denied.and whenwver you loggin to admin page it is redirect many times error.
0 votes
1 answer
137 views

How to extend newcustomer.phtml in Magento 2.3?

I want to change the default text -- Creating an account has many benefits: check out faster, keep more than one address, track orders and more. So how would i extend the path vendor/magento/module-...
  • 576
0 votes
2 answers
120 views

Is there a way to disable "add to cart" and "wishlist" for customers that aren't logged in

Like the title says, those buttons look terrible when customers aren't logged in, and the functionality ins't needed, so how can I disable favorites and compare for people who aren't logged in? Thanks
0 votes
0 answers
72 views

Getting Admin Auth Token

I'm new to Magento 2 software and trying to get some help to my scenario. One of our integration were failing to connect to our store API calls stating the expected response was json but getting HTML. ...
2 votes
0 answers
112 views

magento 2.3.3 customer loggin issue quote table is_active?

Magento 2.3.3 customer login issue quote table is_active? When there is more than 1 data in the quote table with is_active = 1 then the user is facing login issues. So I have to change is_active to 0 ...
0 votes
1 answer
193 views

Magento 2 How to control Customer Login

Here am trying to add some condition before customer login. but I'm not able put plugin for Login. Here is my code app/code/Praveenn/Pvnn/etc/di.xml <?xml version="1.0"?> <config ...
0 votes
0 answers
34 views

Customers being redirected to checkout after login

Title says it all. After a customer logs in, it redirects them to checkout. What could be causing that? I have a plugin that does login for pricing, but this happens even when I disable it. The option ...
0 votes
1 answer
342 views

Customer login only working in private browsing

When a customer tries to login to his account, it redirects right back to the login screen. The text on top changes to way "Welcome, ", but the customer can't actually see anything in his ...

1
2 3 4 5
17