I would like to create a user_table on my service side. This table will only contain user_id returned from Auth0, and a nick_name he would like to use in my app. See the following table example: a user registered through Auth0 using her Google account (Auth0 ID of google-oauth2|115015401343387192604), sets his nick_name in my app as “cute_user”.
Some users may not bother setting this up, if so, we will be using the “name” field returned from Auth0 (see the field at https://auth0.com/docs/link-accounts)
| user_id | nick_name in my app. |
| google-oauth2-115015401343387192604 | “cute_user” |
How could I create a new entry on my service side (i.e., AWS side) whenever a new user registers through Auth0?