I’m working on a logging functionality at my company and would like to implement logs for every mutation on my backend per user (this include legal purpose, such as modification history, …). I am not able to retrieve the mail address from the customer through the JWT (which is normal) but I am able to retrieve its user id. In case of issue from my customer, my go to case is “mr xxx was fired last month and we think he made fraudulent requests to the admin of your app using his account”. How would I reconcile its mail adress sent from my customer to its auth0 user id assuming its account has been suppressed ? would auth0 support assists me in that case ? Should I find another way to reconcile this information ?
Thank in advance for any help