Support app passwords
jgiszczak opened this issue · 4 comments
For accounts with two-factor authentication enabled, Google offers what they call "app passwords" which can be generated for use with a particular application that doesn't support two-factor authentication. Supporting that feature is probably easier than fully supporting two-factor authentication.
Unfortunately, we still have to use the gross way of getting the auth cookie out of the browser to be able to auth. This is because the API's needed to access Google Chat aren't part of any official oauth thing from Google. The one upside of this though is that it works with 2fa, since the browser is able to do all that annoying stuff, and then we just grab the cookie at the end.
Were you having trouble auth'ing with the plugin, or was this just a theoretical example of something we could support?
I was unable to find an oath2 cookie anywhere in the network traffic after initiating login. I both searched manually and with the built-in search in Chrome.
Were you following the link in the description of the YouTube video and ending up on the "One Moment Please" page?
Indeed I was not. That solved it. I didn't notice that I should be using a special link to log in.