Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to handle login with 2fa account? #274

Open
Alihassan001 opened this issue Oct 25, 2021 · 2 comments
Open

How to handle login with 2fa account? #274

Alihassan001 opened this issue Oct 25, 2021 · 2 comments

Comments

@Alihassan001
Copy link

when I hit the 2fa account login it can't login successfully.

response: {
"status": 400,
"message": {
"message": "",
"two_factor_required": true,
"two_factor_info": {
"pk": 49376547926,
"username": "xyz",
"sms_two_factor_on": true,
"whatsapp_two_factor_on": false,
"totp_two_factor_on": false,
"eligible_for_multiple_totp": false,
"obfuscated_phone_number": "8888",
"two_factor_identifier": "snkTPGk577DYcgXE1TWvTHFDDK2DJF45a5NLp2GrumTfJTkcv4pQ0qIzJ5Wy9JsX",
"show_messenger_code_option": false,
"show_new_login_screen": true,
"show_trusted_device_option": false,
"should_opt_in_trusted_device_option": true,
"pending_trusted_notification": false,
"sms_not_allowed_reason": null,
"trusted_notification_polling_nonce": null,
"is_trusted_device": false,
"phone_verification_settings": {
"max_sms_count": 2,
"resend_sms_delay_sec": 60,
"robocall_count_down_time_sec": 30,
"robocall_after_max_sms": true
}
},
"phone_verification_settings": {
"max_sms_count": 2,
"resend_sms_delay_sec": 60,
"robocall_count_down_time_sec": 30,
"robocall_after_max_sms": true
},
"status": "fail",
"error_type": "two_factor_required"
}
}

@rein96
Copy link

rein96 commented Dec 30, 2021

up!

@MonsieurBibo
Copy link

You don't. This package isn't maintained and will probably get your account banned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants