I tried to create a reset password page. But if I apply the action code it shows me, that the code is invalid. But it should be valid. So I guess the way I do it is wrong?! I also have a verify email page, where I also using applyActionCode, there it works fine. And yes I'm 100% sure that the oobCode must be correct.
console.log(this.$route.query.oobCode.toString())
firebase.auth().applyActionCode(this.$route.query.oobCode.toString()).then(
(user) => {
cosnole.log('user', user)
user.updatePassword(this.password).then(
function(user) {
console.log('password updated')
}).catch(
function(err) {
console.log(err.message)
}
)
}).catch(
function(err) {
console.log(err.message)
}
)