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
Local development: cannot get past initial login screen #343
Comments
Hey @dangzan, not sure if this is helpful for you anymore, but I'm able to test changes locally with the following workaround: yarn workspace proton-account start
# Browse to http://127.0.0.1:8080 in Firefox and log in, wait until you reach Dashboard screen
# Press Ctrl+C in terminal to kill old webpack process, we'll start a new one now
yarn workspace proton-mail start After the webpack compilation step, your open browser tab should automatically refresh and should redirect you to your e-mail inbox. At least I've tested this with username/password login, not sure if it will work with 2FA, results may vary. |
@jonhermansen on the current latest main branch, even when I use your workaround, I'm still blocked by the captcha not loading. After I enter my login information on localhost, first it requests a URL like http://localhost:8080/api/core/v4/captcha?Token=&ForceWebMessaging=1 That responds with an html page with a script embedded, that constructs a url in javascript:
Then it attempts to load that URL http://localhost:8080/captcha/v1/assets/?purpose=login into an iframe, however that URL just loads the app again in what looks like a single-page application catch-all 404 handler sort of route. This loads the login page again, so I'm stuck in a loop: Has anybody got a local login working lately? |
Please complete the following checklist (by adding [x]):
I am following the "Getting Started" instructions in the root README. After running
yarn workspace proton-mail start
and navigating to localhost:8080 in my browser, I am met with a prompt for username and password. When I enter one, a Human Verification modal opens that again prompts me for a username and password. When I attempt to submit one, nothing happens. There are no other inputs, links, or options on either of the aforementioned pages/components. I have found other issues here about dealing with captchas, but none about local dev app being inaccessible due to login prompt.I am using node v18.17.1 and yarn v3.6.2. Thank you for any help you can provide.
The text was updated successfully, but these errors were encountered: