cancel
Showing results for 
Search instead for 
Did you mean: 

Login issue on frontend 2.4.5-p1

Login issue on frontend 2.4.5-p1

I have Magento 2.4.5-p1 PHP8.1.

When I would like to login on frontend, It redirects automatically to the login page. So I cannot login. Any idea how to solve this? Could this be a cache of cookie issue? If yes how to solve? Have searched all over the internet, but nothing helps...

1 REPLY 1

Re: Login issue on frontend 2.4.5-p1

Hello @alexander_jorda 

 

Potential solutions to address the issue are as follows:

 

Solution 1: If you are using cookies, please follow these steps:

 

  1. Log in to the Magento backend.
  2. Go to Store -> Configuration
  3. Then, navigate to General -> Web
  4. Scroll down and verify the "Default Cookie Setting"
  5. Ensure that the cookie domain is valid and matches your domain.

Solution 2: If the issue is related to session, please review your exception log by following these steps:

 

  1. Open FTP.
  2. Go to your Magento root directory.
  3. Please check the exception log.

Solution 3: Verify that your server's php.ini file has the same cookie domain as in your Magento Config "System -> Configuration -> General -> Web". If not, update it to match the Magento config.

  • For example: session.cookie_domain = yourdomainurl

If you find our reply helpful, please give us kudos.

 

A Leading Magento Development Agency That Delivers Powerful Results, Innovation, and Secure Digital Transformation.

 

WebDesk Solution Support Team

Get a Free Quote | | Adobe Commerce Partner | Hire Us | Call Us 877.536.3789

Thank You,


WebDesk Solution Support Team
Get a Free Quote | Email | Adobe Commerce Partner | Hire Us | Call Us 877.536.3789


Location: 150 King St. W. Toronto, ON M5H 1J9