What can prevent my customers from logging in automatically after they click on the login button?
Creating the account and opening the customer session are separate steps. If the account exists after social login but the customer returns to the shop without being logged in, several points need checking.
- Complete the login flow. Identify the exact failing step and any message shown in the login window or on return to the shop.
- Check the domain and session. The flow must return to the correct shop with a consistent URL and preserved session cookies.
- Check caching if you use it. A page cache, proxy or optimization module can interfere with a session. Have the required exclusions for Social Login and account pages tested in your test environment, following the cache solution’s documentation.
Caching is one possible cause: an exclusion does not systematically resolve every login failure. If the problem persists, send support the module, PHP and PrestaShop versions, the provider used, the test time and an error message stripped of confidential data.
For a Facebook state-check message, see this FAQ.
Other FAQs in this category
- Why are the email addresses of the Facebook login button users not being retrieved correctly?
- Why don't my login buttons appear on the login page?
- Why does Google give me the error "You do not have permission to access this document"?
- How do I change CSS & templates files in order to integrate my theme ?
- How do I get the Google connector to work for PHP versions below 7.4?
- What do I do if I get a "you may be a victim of cross-site request forgery" message?