Do I need a dedicated User entity to manage Auth0 users in my database, or is storing the Auth0 ID s
Should I create a separate User entity in my database to sync with Auth0, or should I just store the Auth0 ID (sub) as a string reference in my domain entities like Todo? The reason I'm asking is because I want to implement an email service in the backend, and I need to know the best way to manage user data for sending emails.
3 Replies
Unknown User•4d ago
Message Not Public
Sign In & Join Server To View
I’m storing some data that has a deadline. I need to send an email before a certain amount of time has passed and also send a notification via email. I think a good approach would be to create a user with their email and Auth0 ID and reference that user in the data record in the database.”
Unknown User•3d ago
Message Not Public
Sign In & Join Server To View