New IB Key advertisement breaks login
See original GitHub issueI assume, I’m not the only one with this problem. It seems, IB added a new advertisement for accounts without 2FA, which advertises the IB Key app. It’s possible to skip this by pressing the “Continue” button. The advertisement pages appears immediatly after a successfull login and is shown at https://www.interactivebrokers.co.uk/sso/Dispatcher
This is what the pages lookes like:
The continue button is enabled with a timeout after 2 seconds.
Based on the JavaScript of the site, it could be possible to set a cookie called SKIP_IBKEY_PROMO
with value True
to maybe bypass the whole screen. If this works, it would be easier to just set the cookie in the driver which should allow skipping implementing logic to handle the advertisement.
JS Source for cookie:
Once the user presses “Continue”, he’s navigated normally to the account management pages. This should complete the login as normal.
Here is the HTML of the redirect login page: Login.html.txt
Issue Analytics
- State:
- Created 2 years ago
- Comments:13 (6 by maintainers)
Top GitHub Comments
@Voyz Just had a few mins to locally test some code to handle the advert and found a quick way. When the advert page is shown, the login actually already succeeded and the gateway is authenticated.
You can remove the cookie code and change
authenticate.py
trigger check as followingThe
ibkey_promo_skip_displayed
check is enough for ibeam to recognize it was a success and continue as authenciated.Would appreciate if you could add this and update the docker image.
Closing this since #69 has been merged