Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

84
Visualizações
currentUser.emailVerified is false after successful applyActionCode - Firebase version 9

I updated an angular app from firebase.js version 8 to 9 and i'm struggling with an issue when verifying the user's email.

A custom email verification link is generated and sended to the user's email. Then, when the user access the link i apply the oobCode with the following code.

 public async verifyEmail(actionCode: string): Promise<void> {
    await applyActionCode(this.firebaseAuth, actionCode);
    console.log(await this.firebaseAuth.currentUser);
    }
  }

The problem is that, after aplying the action code, in the console the currentUser.emailVerified == false.

To get the user to have the emailVerified == true i have to logout and login again. After refreshing the token with getIdTokenResult(this.firebaseAuth.currentUser, true) emailVerified is still false.

Here is the firebase initialization

 this.firebaseApp = initializeApp(config);
 this.firebaseAuth = getAuth(this.firebaseApp);

I found this issue that is similar https://github.com/invertase/react-native-firebase/issues/3597 but it didn't help.

Is this a normal behavior in version 9?

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda