Hello, I have been trying to explore the Auth0 implementation for SPAs just these past days so I am fairly new to it.
I’m getting confused with fetching user information. Just a background, I’ve done getting started for Django REST and React.
I understood how to make relationship by just referencing the Auth0 user_id to my backend server rather than the completely storing the user information. From what I understand this is the point of Auth0.
My confusion now is from doing api calls for get_users. An example would be listing blog posts with their authors.
A post has an author. Let’s say that I have displayed 20 posts in the frontend and I need to get the author information as well.
I can only reach to the conclusion that I should do a get_users call for each author of the post.
Would love to get some help with this. Thank you.
I referred to these threads as well, but they are already closed which prompted to creating a new one related to the problem.
When it comes to getting users via the Management API we have the below documentation that has some excellent examples that should be able to shed some light on what you’re trying to do. Please give it a look and let me know if you have any further questions and we can work together on it.