I’m new to auth0, so I’ll be as detailed as possible, becuase I want to find the best solution to achieve my goal.
I have a React client and a Node.js api that I have authenticated with these steps:
Now that I have this in place I would like to take user specific app_metadata, once the user is authenticated on the client, send this with the http request to the API, and retrieve information for the specific authenticated user.
For example, the user has app_metadata
"host": "0.0.0.0:8000". I would like to securely send this to the API so that the user can only query information from their host
"host": "0.0.0.0:8000", and not some other host like,
This seems like it would be easy to achieve, but I’ve found it difficult to sort through all of the capabilities.