Hi @dan-auth0, great write-up, very helpful. One thing I am struggling with is the next step: how to keep you app-db in sync with the auth0 users. This is a more generic application question, but I think it would complement this tutorial.
If you have a (sql) app-db with
- {users} (id, auth0Id, …fields),
- {items}(id, …fields, userId)
How would you keep local users and auth0 users in sync? What would be the preferred way to store user information such as profile-fields, account-status etc.