Messer icon indicating copy to clipboard operation
Messer copied to clipboard

Two factor authentication

Open nagylilla96 opened this issue 4 years ago • 5 comments

Summary

Two factor authentication is always working - a text message with the code is not always sent, and when it is, the following message is displayed: Failed to login: Error retrieving userID. This can be caused by a lot of things, including getting blocked by Facebook for logging in from an unknown location. Try logging in with a browser to verify.

Motivation

I saw this fixed in #16 but I think details about how 2FA works should be added to the README file, and probably the API has changed since then, because I still cannot log on using 2FA sadly :( I would not like to remove 2FA only to use this solution. Whenever a login attempt is made from the cli, I get a notification that an unrecognized device is attempting to log in, and if I save it, the next attempt still displays this message, so in the end, all these devices will be recognized by Facebook as separate ones, and 2FA will not work. I also find it weird how the displayed browser is Safari for Mac OS X 10.10 on Facebook.

nagylilla96 avatar Sep 01 '20 09:09 nagylilla96

For the moment, I turned off 2FA, logged in using messer, then turned it back on - I wonder if this will be a long-term solution or not, I'll come back with updates

nagylilla96 avatar Sep 01 '20 10:09 nagylilla96

@nagylilla96 I guess that's hassle because... when you turn off your 2FA you will setup it again and again whenever you stop using this messer. I guess app password would work which is doesn't require any 2FA

warengonzaga avatar Oct 20 '20 09:10 warengonzaga

I have the same problem, but I can't log in even after I turned off 2FA, are there any extra steps?

KR1ST3N avatar Nov 09 '20 16:11 KR1ST3N

I'm not seeing app passwords working for me

gileswells avatar Nov 17 '20 19:11 gileswells

@gileswells I tried it .... seems I agree it doesn't work even you use app passowrds.

warengonzaga avatar Nov 18 '20 04:11 warengonzaga