# How do I extract user data after user registers with Auth0?

**URL:** <https://community.auth0.com/t/how-do-i-extract-user-data-after-user-registers-with-auth0/102378>\
**Category:** Get Help\
**Tags:** sdks-quickstarts, auth0-php\
**Created:** [March 12, 2023, 11:14pm UTC](https://community.auth0.com/t/how-do-i-extract-user-data-after-user-registers-with-auth0/102378 "2023-03-12T23:14:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![DaCoderDude123](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@DaCoderDude123](https://community.auth0.com/u/DaCoderDude123)\
**Post date:** [March 12, 2023, 11:14pm UTC](https://community.auth0.com/t/how-do-i-extract-user-data-after-user-registers-with-auth0/102378/1 "2023-03-12T23:14:00Z")

</div>

Hello everyone,

Very happy to be a part of the auth0 community! I am looking for some help and general guidance for setting up auth0.

Our team is creating a school project, and we are using the **free-tier Auth0** for authentication. Our website structure looks like this:

- Front-end: apache2
- Messaging: RabbitMQ
- Back-end: php 8.2
- Database: MySQL Server

We want to be able to retrieve user information from the **raw JSON** file located in auth0, but we fear that this may be a feature that is simply not available with **free-tier Auth0**. At the moment, our login and registration works perfectly thanks to the streamlined setup provided by auth0, but we would like to at least have the user\_id available, as well as a session token as we will be doing score tracking for a video game. All of this data will be stored in our database.

Is there an alternative solution for the goal that we have, or would it be a better option to pivot to a traditional login/registration solution for the time being? Please provide detailed answers at your discretion, as this is an urgent matter.

Thank you in advance and have a good one!

---

<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:** [March 13, 2023, 9:48pm UTC](https://community.auth0.com/t/how-do-i-extract-user-data-after-user-registers-with-auth0/102378/3 "2023-03-13T21:48:07Z")

</div>

Hi there @DaCoderDude123 !

> [@DaCoderDude123](#):
>
> We want to be able to retrieve user information from the **raw JSON** file located in auth0

It sounds like you’ll want to take a look at using the [Management API](https://auth0.com/docs/manage-users/user-accounts/manage-users-using-the-management-api) to get user information. There are many options to do this programmatically, even a [PHP SDK](https://auth0.com/docs/libraries/auth0-php/using-the-management-api-with-auth0-php).

Alternatively, the `user_id` should be available as the `sub` claim in both ID and access tokens.

Hope this helps!

---

<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:** [March 27, 2023, 9:48pm UTC](https://community.auth0.com/t/how-do-i-extract-user-data-after-user-registers-with-auth0/102378/4 "2023-03-27T21:48:18Z")

</div>

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