Is there a way to access the UID of an email verified user? Will the response provide any helpful insights, or should I handle this from another source?
const handleVerifyEmail = (auth: any, actionCode: any) => {
applyActionCode(auth, actionCode!)
.then((res) => {
//SUCCESS: EMAIL VERIFIED
console.log(res, 'user UID ?');
// updateDoc(doc(db, 'Data', res.user.uid), {
// verifiedEmail: true,
// });
})
.catch((error) => {
errorHandeling(error, 'Cannot verify email');
});
};