Hello! We use auth0-lock for our login and I had a question regarding the password reset log. Is there a way for us to create a Hook or some kind of Rule that cane be triggered when a Reset Password request is sent to auth0 through the auth0-lock?
Looking for a way to log the password reset information to one of our logging clients. Using the Management API is one option but it would be cumbersome at the moment.
Looking for a way to log the user’s email id when the Reset Password request is made.
Your reply is completely correct. Log streams are a great way to go about this. Filtering by the scpr (success change password request) Log Event Type Codes will allow you to filter for those and log them appropriately. These logs contain the user_id.
If this is something you no longer wish to do, it is possible through actions. Using the Post Change Password Trigger, you should be able to extract the user_id and other info in the action.