Notify user that he previously uses Social Login

We decided to go with this approach to save complex user flow

  1. When a Google Auth user signs up
  2. Use management API to create an email-password account with the same email address
  3. Use a randomly generated password to prevent security risk
  4. Set “email_verified”: true (because this email is Google-authenticated already)
  5. Now link this Google user account with this newly generated email-password user together by the management API
1 Like