Google login and redirect options after authorization in widget
-
Hello,
I have two questions regarding the Woodmart theme functionality:
1. Is it possible to not only log in to an existing account via Google, but also automatically register a new user if they are not registered yet?
2. Is there an option to keep the user on the current page after logging in via the login widget (instead of redirecting them to the account page)?
Thank you for your assistance!
Hello,
01. With the built-in Google login option, if a customer logs in with Google and doesn’t already have an account, the system will automatically create a new user account for them. So yes, registration is handled automatically in this case.
02. By default, after login the user is redirected to the My Account page. However, in Theme Settings -> Api integration -> Social Authentication -> Alternative login mechanism, you can enable the option to change the redirect behavior in case you are being redirected to the account page without signing in. This helps keep the user on the same page after login.
Best Regards
1. It’s not working. After registration (if the customer is not yet registered), it redirects to the login page, but displays the message ‘You are logged in as … (no name)’. And after that, when trying to log in to the account again, it shows the same thing. Also, there is no new user in the system.