# Social Login -- userId

**URL:** <https://community.auth0.com/t/social-login-userid/83627>\
**Category:** Get Help\
**Tags:** login, auth0\
**Created:** [May 18, 2022, 1:26am UTC](https://community.auth0.com/t/social-login-userid/83627 "2022-05-18T01:26:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![near](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/near/32/36107_2.png) [@near](https://community.auth0.com/u/near)\
**Post date:** [May 18, 2022, 1:26am UTC](https://community.auth0.com/t/social-login-userid/83627/1 "2022-05-18T01:26:42Z")

</div>

Hi!  
I often see not only email/password login but also Social login like Google, and At after social login, I get an ID like identity-provider + UUID.

Should I use full ID or only UUID in my resource Database?

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [May 19, 2022, 12:20am UTC](https://community.auth0.com/t/social-login-userid/83627/3 "2022-05-19T00:20:34Z")

</div>

Hey there @near!

> [@near](#):
>
> Should I use full ID or only UUID in my resource Database?

Auth0 uses the full `provider|uuid ` for the Management API for example, so if you want to keep parity it might be a good idea to do so. However, I think it’s ultimately up to you 🙂

Hope this helps!

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [June 3, 2022, 12:21am UTC](https://community.auth0.com/t/social-login-userid/83627/4 "2022-06-03T00:21:32Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
