Skip to content

"OPERATION_NOT_ALLOWED : Please verify the new email before changing email." #8009

@hakimov-dev

Description

@hakimov-dev

Operating System

Windows 10 Version 22H2

Browser Version

Яндекс.Браузер v.24.1.0.0

Firebase SDK Version

^10.5.2

Firebase SDK Product:

Auth

Describe your project's tooling

Vue, Nuxt, Firebase auth

Describe the problem

I was trying to update email of user's account by that code:

   updateEmail(getAuth().currentUser, user.value.email)
        .then((res) => {
          console.log(res);
        })
        .catch((error) => {
         console.log(error)
        }) 

But i got that error in console: "OPERATION_NOT_ALLOWED : Please verify the new email before changing email."

User's account registered by google,

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions