Email account

registration

createUserWithEmailAndPassword(auth, email, password)
    .then((credential) => alert(credential.user.uid))
    .catch((error) => alert(error.message))
    .finally(() => setIsLoading(false))

login

signInWithEmailAndPassword(auth, email, password)

password reset

We may ask Firebase to send a password-reset email. We may customize it in the Firebase console:

sendPasswordResetEmail(auth, email)
earlymorning logo

© 2025 - All rights reserved

Email account

registration

createUserWithEmailAndPassword(auth, email, password)
    .then((credential) => alert(credential.user.uid))
    .catch((error) => alert(error.message))
    .finally(() => setIsLoading(false))

login

signInWithEmailAndPassword(auth, email, password)

password reset

We may ask Firebase to send a password-reset email. We may customize it in the Firebase console:

sendPasswordResetEmail(auth, email)