Link the Auth0 user to the TourDe database User table
When you log in with Auth0, you get an ID token back. That ID token will have the Auth0 user ID in it. You can then use that with clearDB.
Or you can add an action that calls an API (that you would write) when a user is first created, grabs your clearDB user ID and adds that to the user’s app_metadata. Then a second action that adds that field to the ID token. Then it is available after login.
Link the Auth0 user to the TourDe database User table
https://community.auth0.com/t/question-about-using-auth0-login-and-storing-associated-user-data-into-external-database-for-website-project/79622