# Consistency between our database and Auth0 User Store

**URL:** <https://community.auth0.com/t/consistency-between-our-database-and-auth0-user-store/46074>\
**Category:** Get Help\
**Created:** [July 10, 2020, 12:30am UTC](https://community.auth0.com/t/consistency-between-our-database-and-auth0-user-store/46074 "2020-07-10T00:30:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![slavaZim](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/slavazim/32/22479_2.png) [@slavaZim](https://community.auth0.com/u/slavaZim)\
**Post date:** [July 10, 2020, 12:30am UTC](https://community.auth0.com/t/consistency-between-our-database-and-auth0-user-store/46074/1 "2020-07-10T00:30:38Z")

</div>

Quick question setup: we have a mobile app, which will be using Auth0 SDK (universal login), and backend server, which handles all application logic other than authentication.

User entity at our database should be identified by UUID. Users can schedule a meeting with each other. Information about meetings is recorded at our database, and it needs 2 UUIDs, to identify users, participating in meeting.

Let’s say user signed up with universal login, and his profile was created at Auth0 Store. But there is no record at my backend. How would backend server Identify mobile client sending request?

For instance, to schedule a meeting, we need to send to our backend server current user ID?

I read a guide about Auth0 Store and User Profile Management, but I don’t see what to make of it.

**To hander application logic, our backend server needs consistent identifier, which is same in our database and Auth0 Store, and which mobile app can acquire on user signup / login.**

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [July 10, 2020, 5:48pm UTC](https://community.auth0.com/t/consistency-between-our-database-and-auth0-user-store/46074/3 "2020-07-10T17:48:56Z")

</div>

Hi @slavaZim,

Welcome to the Community!

If I understand your question correctly, you can use a [Post Registration Hook](https://auth0.com/docs/hooks/extensibility-points/post-user-registration) to send the newly created user’s ID to your backend, registering them in your DB.

Then whenever they make a request they will already exist in your backend.

Let me know if that works for you!  
Dan

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [July 25, 2020, 5:48pm UTC](https://community.auth0.com/t/consistency-between-our-database-and-auth0-user-store/46074/4 "2020-07-25T17:48:56Z")

</div>

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