Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

181
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!