I need to get the user ID when I input the mail of the user.
Is it possible?
Of course I have an authenticated user who is asking for the mail of a user already created.
I want to retrieve users like
var refer = firebase.auth ().ref ('[email protected]') refer.on ('value', function (snapshot) { console.log (snapshot.val()); }) But in a possible way.
firebase.auth ().ref ('[email protected]')I don't think that is theauthservice has aref()method: firebase.google.com/docs/reference/js/firebase.auth.Auth.