Closed orshemtov closed 1 year ago
Hey @orshemtov thanks for bearing with me, busy period over the holidays. Sorry to hear that you've got an issue setting up 2FA. In general, IBeam does not provide an out-of-box solution for 2FA as it depends on the user's setup and resources. You can find one example of how some users solved it in this section:
https://github.com/Voyz/ibeam/wiki/Two-Factor-Authentication#automating-2fa
Wish I could be of more help, but currently this process needs to be automated by each user individually. Best of luck!
i also have an issue with authentication:
ibeam | Open https://localhost:5000 to login
ibeam | App demo is available after you login under: https://localhost:5000/demo/
ibeam | 2023-01-25 05:11:13,576|I| No active sessions, logging in...
ibeam | 2023-01-25 05:11:43,477|E| Timeout reached when waiting for authentication. Consider increasing IBEAM_PAGE_LOAD_TIMEOUT. Error: "" at File "/srv/ibeam/src/authenticate.py", line 201, in authenticate_gateway any_of(success_present, two_factor_input_present, error_displayed, ibkey_promo_skip_clickable))
ibeam | 2023-01-25 05:11:43,890|I| Authentication process failed
ibeam | 2023-01-25 05:11:43,917|I| Starting maintenance with interval 60 seconds
ibeam | 2023-01-25 05:12:44,098|I| No active sessions, logging in...
i do face unlock through the app on my iPhone as 2fa but still no luck(
i restarted it again and even though i didn't make any changes, it started to work for me ;-)
ibeam | Open https://localhost:5000 to login
ibeam | App demo is available after you login under: https://localhost:5000/demo/
ibeam | 2023-01-25 05:11:13,576|I| No active sessions, logging in...
ibeam | 2023-01-25 05:11:43,477|E| Timeout reached when waiting for authentication. Consider increasing IBEAM_PAGE_LOAD_TIMEOUT. Error: "" at File "/srv/ibeam/src/authenticate.py", line 201, in authenticate_gateway any_of(success_present, two_factor_input_present, error_displayed, ibkey_promo_skip_clickable))
ibeam | 2023-01-25 05:11:43,890|I| Authentication process failed
ibeam | 2023-01-25 05:11:43,917|I| Starting maintenance with interval 60 seconds
ibeam | 2023-01-25 05:12:44,098|I| No active sessions, logging in...
ibeam | 2023-01-25 05:13:03,210|I| Authentication process succeeded
ibeam | 2023-01-25 05:13:06,414|I| Gateway running and authenticated
Closing this issue due to lack of activity. Feel free to reopen if you'd like to continue the discussion 👍
Describe the bug I'm unable to authenticate with IB
To Reproduce
Bring up IBEAM through Docker compose
docker compose up -d
This is the logs the container outputs:
It suggest looking at 2FA here: https://github.com/Voyz/ibeam/wiki/Two-Factor-Authentication
There are 3 options:
Expected behavior IBeam should login successfully, the only 2FA method I use with IB is the IB Key through the App
Environment IBeam version: latest Docker image or standalone: docker Python version (standalone users only): docker OS: docker
Additional context Add any other context about the problem here.
Suggest a Fix If you can't fix the bug yourself, perhaps you can point to what might be causing the problem (line of code or commit).