Nativefier: Unable to login: TweetDeck (account with 2FA)

Created on 20 Jul 2017  路  4Comments  路  Source: jiahaog/nativefier

Description

Can't log in to TweetDeck - stuck in Twitter login page.

Steps to reproduce issue

  1. Nativefy https://tweetdeck.twitter.com
  2. Click on the blue button: "Log In"
  3. A Twitter login page will load - enter your credentials and submit: nothing will happen visually.

After the steps above, if your account doesn't have 2FA, when you restart the nativefied app it will appear as logged in. If you _do_ have 2FA, its impossible to log in because the page to enter the code will not load.

Details

  • Are you nativefying a public website?
    Yes.
  • Feature request? Have you looked at nativefier --help to see if an existing option could fit your needs?
    Yes. Maybe --internal-urls - not sure.
  • Full nativefier command used to build your app:
docker run \
    -v $(pwd):/app/ \
    nativefier \
    --icon /app/icon.png \
    --name TweetDeck \
    -p linux \
    -a x64 \
    "https://tweetdeck.twitter.com" /app/
  • Version of Nativefier (run nativefier --version):
    7.4.0
  • Version of node.js (run node --version):
    The current used by the docker image available in this repo.
  • OS:
    Ubuntu 17.04 x64
  • Error message / stack trace (if any):
    N/A
bug

Most helpful comment

@ronjouch Console shows nothing. Network tab says the request was canceled.

screenshot from 2017-07-20 10-16-23

screenshot from 2017-07-20 10-16-39

I do receive the SMS token, so the form was submitted.

Thanks!

All 4 comments

@vegbrasil thanks for the feedback. I doubt --internal-urls is the culprit, it only governs what opens in a tab of your default browser vs. as a nativefier window. Could you dig a little bit more using the bundled DevTools? Ctrl+Shift+I, then have a look at tabs Console (any error?) and Network (any failed requests?).

@ronjouch Console shows nothing. Network tab says the request was canceled.

screenshot from 2017-07-20 10-16-23

screenshot from 2017-07-20 10-16-39

I do receive the SMS token, so the form was submitted.

Thanks!

I've been struggling with the same problem, but I found a workaround. Using the mobile site (you could navigate to the mobile site by using DevTools and entering window.location = "https://mobile.twitter.com"; in the console), you'll be able to fill in your 2FA code and log in. Afterwards, you can navigate back to Tweetdeck and you'll stay logged in.

Still an issue on 2017-12-15

Was this page helpful?
0 / 5 - 0 ratings

Related issues

raulcraveiro picture raulcraveiro  路  4Comments

Waitsnake picture Waitsnake  路  5Comments

danielyli picture danielyli  路  5Comments

toddself picture toddself  路  5Comments

simonweil picture simonweil  路  5Comments