Skip to content
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

2FA Login without a user action #194

Closed
DanielLichtenecker opened this issue Jan 5, 2023 · 5 comments
Closed

2FA Login without a user action #194

DanielLichtenecker opened this issue Jan 5, 2023 · 5 comments

Comments

@DanielLichtenecker
Copy link

Hi,

what is the best way to avoid a user action due to the recent mandatory 2nd factor enrollment? Currently I'm using IBRK Mobile for the 2FA, but it needs an active user action which is not convenient. Is there a way to proceed without a user action?

@rlktradewright
Copy link
Member

If you set up IBC correctly it could hardly be more convenient. You get the prompt on your Android or IOS mobile device, you acknowledge it, and that's it. If you miss the prompt for any reason, you'll get another chance after a few minutes: and this will continue until you do it.

If you're hoping you could somehow get logged in without doing anything at all, dream on!... That wouldn't be 2FA.

@yarimiz
Copy link

yarimiz commented Jan 10, 2023

A recommendation I got from IBKR support is to set the gateway setting to auto restart instead of auto logoff, this will require a user interaction for authentication only once a week.

Read more here: https://ibkrguides.com/tws/usersguidebook/configuretws/auto_restart_info.htm

@rlktradewright
Copy link
Member

Yes indeed, and this is exactly what you can do with IBC, except even better than just running the Gateway/TWS manually. This is because if you run them manually, and you miss the 2FA prompt to your device running IBKRF Mobile so that it times out, then you have to intervene manually at TWS/Gateway to get another 2FA prompt. But if you run them under IBC, you will automatically get another attempt, as I indicated in my previous reply.

@melkayam92
Copy link

Hey @rlktradewright, how exactly can i log once a week with IBC? what config should i use?

@rlktradewright
Copy link
Member

Read the User Guide, and the comments in config.ini.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants