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

589
Visualizações
Error: Invalid login: 534-5.7.9 Application-specific password required. Learn more at

Since google is removing less secure app mode, I'm changing the password settings for my app (which is written in flutter/Firebase) from the actual google password, to a password which I generate inside the setting of my google account to give full access. So I set the password like that

firebase functions:config:set gmail.email=email gmail.password=passwort

I checked everything twice with

firebase functions:config:get

and now wanna tried. But the problem that I have is that its always saying

 Error: Invalid login: 534-5.7.9 Application-specific password required. Learn more at 

This is my functions

import * as functions from "firebase-functions";
import nodemailer from "nodemailer";

const { email = "", password = "" } = functions.config().gmail || {};

const mailTransport = nodemailer.createTransport(
  `smtps://${email}:${password}@smtp.gmail.com`
);


const senEmail = async (email, subject, text) => {
  try {
  const mailOptions = {
    from: `"-IMPORTANT" <${email}>`,
    to: email,
    subject,
    text,
  };

  return mailTransport.sendMail(mailOptions);
} catch (error) {
  console.log("error", error);
  res.status(501).send(`Fehler! `);
  return;
}
};

export { senEmail };

I have to say I don't use google sign in for my app. Is this maybe a problem?

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

Ok I fixed it. What I did was first making sure to do all the steps which are written in this blog

1.http://help.warmupinbox.com/en/articles/4934806-configure-for-google-workplace-with-two-factor-authentication-2fa .

2.Then make sure that you redeploy the functions.

about 4 years ago · Juan Pablo Isaza Relatório
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