Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

185
Vistas
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 la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda