I have a React application and have Auth0 working with it for signing up, logging in, and logging off. Everything works fine. All the state information updates as expected as the async calls are made. Eventually a user object is returned and it has the correct information. The auth0Client returns a user object that contains very little information. It contains fields like this:
- email: “someEmail@gmail.com”
- email_verified: true
- name: “someEmail@gmail.com”
- nickname: “someNickName”
- picture: “someUrl”
- sub: “auth0|5ef6a94271fd3c0013b8b58c”
- updated_at: “2020-07-16T04:50:10.669Z”
The documentation says this is a standardized user object that only contains these fields. How do I get all the other fields described in the “User Profile Structure” document? Fields such as created_at?
Looking around the documentation on the website I started looking at using “Rules” to add the data, but that didn’t seem right. The user object coming into the Rules didn’t have the information anyway. Am I supposed to make another call to some other API to get the more “complete” user record?
I assume this is a very basic question with a simple answer. All the other information with the tutorials worked fine.