I’m using Django (DRF) as a rest backend and Nuxt on the frontend. I wish to store the logged in user in my DB because I have database tables that rely on the relation between a user and other tables. In the article https://auth0.com/blog/building-modern-applications-with-django-and-vuejs/
the author writes
For most cases, you don’t need to store users in your database since Auth0 handles all of that for you including advanced features such as profiles. You can use a custom function that checks if a general (can be fake) user that you create exists and map it to all Auth0 users.
What does he mean? I obviously need to know the logged in user so I can do the correct queries.
What is the solution here? How should I store the logged in user in my db? Or are there other ways?