# User signup

**URL:** <https://community.auth0.com/t/user-signup/7013>\
**Category:** Get Help\
**Tags:** signup, management-api, user-creation\
**Created:** [June 11, 2017, 1:05am UTC](https://community.auth0.com/t/user-signup/7013 "2017-06-11T01:05:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![a1lerner1](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@a1lerner1](https://community.auth0.com/u/a1lerner1)\
**Post date:** [June 11, 2017, 1:05am UTC](https://community.auth0.com/t/user-signup/7013/1 "2017-06-11T01:05:40Z")

</div>

I’m working on an RSS reader and want to use Auth0 for my user management. I want to make sure that logged in users are only able to see their own data. I think I know how to implement this (check the “sub” field on the access token and look for it in my resource server database).

How would I handle user signup this way? Would I have to write a script that pings Auth0’s managment API to grab the auth0 userID and write it to my resource server database everytime a user signs up? What’s the right way to do this?

---

<div class="post-metadata">

**Author:** ![michaelwjoyner](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@michaelwjoyner](https://community.auth0.com/u/michaelwjoyner)\
**Post date:** [June 11, 2017, 8:20am UTC](https://community.auth0.com/t/user-signup/7013/2 "2017-06-11T08:20:56Z")

</div>

a1Learner,

The beauty of JWT tokens and Auth0 is the ability to amend user\_data and app\_data to Auth0 users. Or, custom properties that are attached to the Auth0 users.

Just one of many ways is that you can store the GUID of the resource/user in the Auth0 user as app\_data. When you get the JWT token you can look at the app\_data and know what it relates to on your resource server.

When you get the token you only need to verify the token. If you stored your GUID as app\_  
data when you created the user you will get it back in the profile each time they login.

---

<div class="post-metadata">

**Author:** ![a1lerner1](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@a1lerner1](https://community.auth0.com/u/a1lerner1)\
**Post date:** [June 11, 2017, 9:24pm UTC](https://community.auth0.com/t/user-signup/7013/3 "2017-06-11T21:24:30Z")

</div>

Thanks michael,  
Would you be willing to point me towards the part of the documentation that explains how to edit app\_metadata and user\_metadata programmatically? I’m having trouble finding it. I’m using React for my front end and python for my backend if that is relevant

---

<div class="post-metadata">

**Author:** ![prashantT](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/prashantt/32/6002_2.png) [@prashantT](https://community.auth0.com/u/prashantT)\
**Post date:** [June 12, 2017, 7:49am UTC](https://community.auth0.com/t/user-signup/7013/4 "2017-06-12T07:49:26Z")

</div>

You can use a Post User Registration Hook to do the necessary operation on your database. The Hook will have the `user_id` attribute, hence wouldn’t require you to make a call to the Management API. Read the Hooks documentation for more info:

> **[Post-User Registration](https://auth0.com/docs/customize/hooks/extensibility-points/post-user-registration)**
>
> Learn how hooks can be used with the Post-User Registration extensibility point, which is available for database connections and passwordless connections.

---

<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 2, 2018, 5:54am UTC](https://community.auth0.com/t/user-signup/7013/5 "2018-03-02T05:54:33Z")

</div>


