FusionAuth/fusionauth-netcore-client

No JSON Response Body when Login with 2FA

anubhavranjan opened this issue · 3 comments

No JSON Response Body when Login with 2FA

Description

I have enabled 2FA for one of the test users.
Now when I try to perform the login using the FusionAuthClient.Login(LoginRequest) method, all I see is the response with code 242 but no twoFactorId

Expected behavior

After performing the Login, I should get the twoFactorId for performing the 2FA

Screenshots

image

Platform

  • Server: IIS Express, .Net Core
  • OS: Windows 10
  • Browser + version: Microsoft Edge (Insider)

Additional context

As seen in the screenshot, the statusCode is 242 but there are no additional data provided.

Strange, currently unable to reproduce. Perhaps there is an issue with the Netcore client itself.

This is likely fixed with the #4 fix.

Closing as fixed under #4 . Thanks @anubhavranjan for reporting!