Swiftagram icon indicating copy to clipboard operation
Swiftagram copied to clipboard

Unable to login with two-factor challenge

Open strangeliu opened this issue 3 years ago • 0 comments

I've searched past issues and I couldn't find reference to this.

Swiftagram version 5.4.0

Describe the bug Login with two-factor get error: invalid_parameters

To reproduce Steps to reproduce the behavior:

  1. Login with Authenticator.keychain.basic(username: userID, password: password) .authenticate(in: client)
  2. get two_factor code, and continue with challenge.code(code).authenticate()
  3. get error message: {\"message\":\"Invalid Parameters\",\"status\":\"fail\",\"error_type\":\"invalid_parameters\"}

Expected behavior Login success

Device and system iOS 15.2, iPhone X

strangeliu avatar Jan 19 '22 06:01 strangeliu