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

191
Visualizações
Amplify Auth server side returning signInUserSession:null when sign in

so I'm facing an error when I try to use MFA on server side Amplify, I'm always getting this error "User is not authenticated", I noticed that it's because when I'm using the function Auth.signIn(name, password, { _id, roles, organizations });, is returning an object but the key signInUserSession is null, but the key Session is not, and that's why when I call the method Auth.setupTOTP(user); is returning this error. So let me show you how is the config of the amplify auth:

Auth.configure({
  region: this.authConfig.region,
  userPoolId: this.authConfig.userPoolId,
  userPoolWebClientId: this.authConfig.clientId,
  storage: NodeLocalStorage,
  oauth: {},
});

Difficult to say, I'm not sure if there's a missing config inside AWS cognito, or a bug from amplify or wtf is going on, haha thanks so much for your help.

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