Appearance
<div style="display: none;" hidden="true" aria-hidden="true">Are you an LLM? You can read better optimized documentation at /guides/SocialAuth.md for this page in Markdown format</div>
Social Auth
Specs
Customers can login with google and facebook.
When a customer logins with oauth provider we should match him with existing registered customer (not guest) and login with that customer. If we don't have a match we must create a new registered user and login with the new customer.
There is a case where a user is registered with phone and not email. We then request client for email to complete the login process.
As soon as we have matched or created a new customer based on email our sessions kick in and we forget about oauth provider
Activation
In admin settings we can activate and populate credential data for social logins