Questions tagged [login]
Denotes questions related to login (frontend, backend and api).
827
questions
0
votes
0answers
13 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 ...
0
votes
0answers
14 views
Due to heavy traffic on site customer not able to loggedin/after reseting password not able to login Magento2
We are using Magento2.3.4-p2 cloud pro.
Client has reported everytime that her customer facing issue for login/after reseting password they are not able to login while promotions are running on site.
...
0
votes
0answers
5 views
After Ajax Customer Login when add product to cart show Invalid form message error
I'm developing a module for the customer be able to login from any page by ajax. Its working but when the customer log in, all the forms are invalid. My module in any moment redirects the browser, I ...
0
votes
0answers
9 views
2FA for custom created user
I have a custom role in magento 2.4.1 to manaege the backend and I have given the user restricted resources.
Firstly there was no 2FA enabled but after enabling it during the time of the login of that ...
0
votes
0answers
12 views
Magneto 2.4.1 How can I display my account link in top links?
I am using custom theme.
How can I show My account link in header after successfully login.
0
votes
0answers
20 views
Get current cart (quote) items for not logged in users
I have such issue:
Need to change template of login page based on products (items) in cart. I tried to get current quote by checkoutSession in block class, but there was no items. However I added ...
0
votes
1answer
18 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
1answer
10 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
0answers
13 views
Magento 2 - Redirect to last page after login for custom login form
I created a custom login form in the header. If you click on the icon then the form shows.
However, if I login in this form, then the user is getting redirected to the customer dashboard, after he ...
0
votes
0answers
21 views
Magento 2.3 Add to cart not working only in chrome
I am not able to add product in my website. There is no error and it works fine in firefox. Also the login is not working in all browsers. When login it redirects the login page itself and it repeats. ...
0
votes
0answers
13 views
How to debug default magento 2 page messages not showing only on login and registration pages?
i have a magneto 2 server hosted on cloudways with the codazon infinit theme.
my problem is that the page messages on the login page and registration page don't work which is a big problem for users. ...
0
votes
1answer
29 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-...
0
votes
0answers
12 views
how to extend login as customer in our module
namespace FME\AdvancedLayoutManagement\Controller\Adminhtml\Login;
use \Magento\Backend\App\Action;
use \Magento\Backend\App\Action\Context;
use \Magento\Backend\Model\Auth\Session;
use \Magento\...
0
votes
0answers
10 views
Magento customer recognition problem - Group prices are show although not logged in
Magento 2.3.2
Customer is logged in and sees the group prices.
If the customer does not log out, but the same customer visits the store again the next day. The group prices appear again although he ...
0
votes
0answers
36 views
Login/Registration pages error/success messages don't show
i have migrated a magento 1.9 server to a magento 2.3 server.
everything went fine and i am really happy with that.
my only problem is that the page messages on the login and registration page don't ...
0
votes
2answers
43 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
0answers
34 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
0answers
37 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
1answer
37 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
0answers
18 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
1answer
34 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 ...
0
votes
1answer
51 views
How to hide page for not logged in customers?
I've created a page using the CMS which I do not want to be accessible by people who are not logged in.
It's a download page which I want to place in the footer. But when they click on it, it should ...
0
votes
0answers
38 views
In Magento 2.4 How to update subtotal with custom price after add product to cart and check if customer is login?
I want to update cart subtotal by custom price.
Example :
I have display member price which is 10% of final price and i have display it on product details page and cart page now i want to update ...
0
votes
0answers
31 views
magento 2 iframe issue
Invalid 'X-Frame-Options' header encountered when loading '': '*' is not a recognized directive. The header will be ignored.
Refused to load the font '' because it violates the following Content ...
0
votes
0answers
105 views
Magento 2 in iframe add to cart issue
I'm trying to show Magento 2 inside an iframe. Site loading fine but add to cart and login not working when add to cart getting below error
[2020-09-08 08:34:45] main.DEBUG: Request validation failed ...
0
votes
0answers
76 views
magento 2 iframe src code login not wokring
Hi I am facing some issues add to cart and login with iframe. I have created i frame code
<iframe id="Pawan" frameborder="0" align="middle" width="100%" ...
0
votes
1answer
79 views
How to move customer login to step login in checkout
I've added a new step to checkout based on https://devdocs.magento.com/guides/v2.4/howdoi/checkout/checkout_new_step.html and is working good.
What I want to do next is to move the authentication ...
0
votes
0answers
20 views
Magento2 identify if user is logged in user or Guest user for PWA
Magento2 How to identify if the user has logged in user or Guest user for PWA?
In sort how to identify user type using Rest API or GraphQL
1
vote
0answers
36 views
How to turn login buttons into icons?
I need to remove the login and logout buttons and add an icon for this, an account icon, how can I make this change to my theme?
Basically I need to transform this ...
In that..
0
votes
2answers
42 views
Customer Login Page & Forgot password page are not working
I have created a website called cravestore.in in magento2.4. I have registered myself by using Signup page, all works good, but when I tried to login with my correct credentials the customer login ...
0
votes
1answer
225 views
Magento 2: Google Recaptcha is not showing in Login page
I have enabled the Google Recaptcha in Login and Register via admin panel configuration using the API Site and Secret keys. But the Google Recaptcha is not showing in Login page though its showing in ...
0
votes
1answer
49 views
The account sign-in was incorrect or your account is disabled temporarily. Please wait and try again later
I am trying to log in for the first time and I have unlocked the admin user in cmd with (php bin/magento admin:user:unlock admin) I see admin user has been unlocked but when I go back to the login i ...
0
votes
0answers
13 views
Spinner/Loader is missing after login
After submitting the authorization form, the loader does not appear. how to implement it?
0
votes
0answers
41 views
Magento 2: One Tap Sign-in
I would like to implement the Google One Tap Login on my website but its not working.
I have followed the below guide for Google One Tap Login:
https://developers.google.com/identity/one-tap/web/...
0
votes
0answers
11 views
Magento2- Login required to move forward on the site
Hi i have a client that wants to make the login a required thing, to be able to move forward through the page. The idea is to make the client use its credentials to see the products and if you dont ...
1
vote
0answers
93 views
how to solve 401 redirect on REST API on Custom tab between shipping and Payment option
I have created some steps between shipping and Payment form and add some field between then and applied ajax on that but i have facing an issue for not logged in user it will gave an error of 401 and ...
0
votes
0answers
6 views
A hidden attribute set / product info and menu options only seen via proper login
We are looking to take a fully functioning e-commerce site and use it as a way to link to product assets and resources from our dropbox.
Our ideal execution would be an attribute set or section of ...
0
votes
0answers
39 views
Share login details on multiple websites in Magento 2
I have two websites on one Magento with two different domains. Now, when customers log in to one domain and they go to the rest domain, they must log in again. Is there any way to share log in, So, ...
0
votes
0answers
13 views
M2 cart will be empty after login
many customers have following problem:
They put products in the cart
They login
The cart ist empty
I am not able to reproduce that issue and I have also tried different browsers. The customers have ...
0
votes
0answers
15 views
Customer password reset always says link as expired after upgrade from 2.2 to 2.3
I recently upgraded from 2.2 to 2.3 and kept the theme idk if that's important.
Now when a customer tries to reset his password the email is sent but if he clicks the link that should go to the ...
2
votes
1answer
121 views
Wishlist not working for login customer in magento2 with caching if once i add product then wishlist icon remove by KO wishlist().counter?
How can I set my wishlist for logged on customer and log gout customer with knockout JS
if I logged on then I only add product once then wishlist icon remove because of knockout JS
how to write ...
1
vote
2answers
153 views
Getting error “ Type Error occurred when creating object ”
When i edit in constructor file of my custom module it give me this error " Type Error occurred when creating object " i don't know what i am doing wrong i use same code for creating a Block ...
0
votes
0answers
52 views
Magento 2: How to set “Maximum Login Failures to Lockout Account” different Role wise?
We have this
https://docs.magento.com/user-guide/stores/security-admin.html
In the 'Maximum Login Failures to Lockout Account' field, enter the
number of times a user can try to log in to the Admin ...
0
votes
0answers
22 views
Magento1.9 customers not able to login
I moved a friends website to another server and then also changed the domain name . The site seems to work all fine except two issues:
- When you will out the customer registration form and click ...
0
votes
0answers
25 views
Magento 2 - Change format of authentication-popup.html
I overridden authentication popup of Magento 2 in my custom theme. I discovered that the file that is called for the popup is with the extension .html (authentication-popup.html). This way I can't add ...
0
votes
0answers
70 views
“You did not sign in correctly or your account is temporarily disabled.”
I have just been invited to a Magento site. Never recieved an email that I was added as user.
Was able to go to the site and "reset password", but now I get the "You did not sign in correctly or your ...
0
votes
0answers
46 views
Magento 2: Check customer is login, i mean REALLY login
After all research and looking in Magento 2 source, the only thing i can do and suggested is:
\Magento\Customer\Model\Session $session->isLoggedIn()
or
\Magento\Customer\Model\Session $session-&...
0
votes
1answer
42 views
If client login JQuery/Mage-init don't work
I don't even know how to explain this.
But the case is, in some pages if the user is logged in some of the features don't work.
For example in cart we have a tab that opens a closes with the form to ...
0
votes
0answers
12 views
Different login forms for different customer Groups magento 2
I have two types of customer in my store. Which is customer and seller. I have assigned a seller by creating new customer group. My seller login code is below which working fine. But the issue is, in ...
0
votes
2answers
2k views
Magento 2.3.5 - Customer login frontend does not work
For some reason our customer login form on the frontend does not work anymore.
We still can login into the backend without any problems.
I check the log files, but there are not error's displayed. ...