# Notify user that he previously uses Social Login

**URL:** <https://community.auth0.com/t/notify-user-that-he-previously-uses-social-login/87316>\
**Category:** Get Help\
**Created:** [July 20, 2022, 10:30pm UTC](https://community.auth0.com/t/notify-user-that-he-previously-uses-social-login/87316 "2022-07-20T22:30:41Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![swifteam](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/swifteam/32/33281_2.png) [@swifteam](https://community.auth0.com/u/swifteam)\
**Post date:** [July 20, 2022, 11:50pm UTC](https://community.auth0.com/t/notify-user-that-he-previously-uses-social-login/87316/2 "2022-07-20T23:50:50Z")

</div>

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](https://auth0.com/docs/api/management/v2#!/Users/post_users) 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](https://auth0.com/docs/manage-users/user-accounts/user-account-linking/suggested-account-linking-server-side-implementation#metadata-merge-example)

---

_[View the full topic](https://community.auth0.com/t/notify-user-that-he-previously-uses-social-login/87316)._
