From Firebase auth email/pw - email verification link I am trying to get the user's info.
After the user clicks on the email verify link I call firebase.auth.applyActionCode with the oobCode to firebase. Which change the emailVerified property against the user to true.
I can see that when I call applyActionCode a (devtool network tab) network call is made to setAccountInfo method which response with an user obj from firebase. Which has all the information I need.
But applyActionCode itself returns a promise
Is there a way to get the user obj when calling the applyActionCode method?
or
Can I somehow decode the oobCode provided by firebase.
using
Firebase 8.8.1
reactjs
Thanks in advance.
Firebase exposing all user information in the network tab cant be safe after clicking a email verification link? When you could of typed the wrong email address.