I am trying to access a user's hashed password and hashed salt using onCreate authentication trigger but I always got null values for both of them, however I am getting the other user's values normally.
exports.savePasswordsInfo = functions.auth.user().onCreate((user) => {
functions.logger.log("hash: ",user.passwordHash);
functions.logger.log("salt: ",user.passwordSalt);
functions.logger.log(user)
});
Why is that happening?