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

We could not find any Fidelity accounts... #10

Open
renkrich opened this issue Dec 5, 2022 · 5 comments
Open

We could not find any Fidelity accounts... #10

renkrich opened this issue Dec 5, 2022 · 5 comments

Comments

@renkrich
Copy link

renkrich commented Dec 5, 2022

Hi all, it looks like the Netbenefits login screen/method has changed somehow, making the script throw an error on line 106.
image

@renkrich
Copy link
Author

Trying to recreate Fidelity account in MoneyMoney brings this protocol:

11:50:45 Starting account setup assistant.
11:51:08 Lade Kontenliste ...
Web Banking Engine: Using user-supplied extension Fidelity NetBenefits.lua version 0.11.
Protocol version: Web Scraping
Server address: https://nb.fidelity.com/public/nb/worldwide/home?AuthRedUrl=https://netbenefitsww.fidelity.com/mybenefitsww/stockplans/navigation/PlanSummary
Sending: GET https://nb.fidelity.com/public/nb/worldwide/home?AuthRedUrl=https://netbenefitsww.fidelity.com/mybenefitsww/stockplans/navigation/PlanSummary
11:51:09 Received: <title>Log In to Fidelity NetBenefits</title> <script src="https://workplaceservices.fidelity.com/static/common/nb/js/vendor/jquery-ui-validate-modernizer.min.js" ></script> <script src="https://workplaceservices.fidelity.com/static/common/nb/js/pl/advanced-link.js"> </script> <script src="/static/mybenefits/nbPreloginClientAppContent/runtime-es5.js?ver=1557" nomodule defer></script> <script src="/static/mybenefits/nbPreloginClientAppContent/runtime-es2015.js?ver=1557" type="module"></script> <script src="/static/mybenefits/nbPreloginClientAppContent/polyfills-es5.js?ver=1557" nomodule defer></script> <script src="/static/mybenefits/nbPreloginClientAppContent/polyfills-es2015.js?ver=1557" type="module"></script> <script src="/static/mybenefits/nbPreloginClientAppContent/scripts.js?ver=1557" defer></script> <script src="/static/mybenefits/nbPreloginClientAppContent/main-es5.js?ver=1557" nomodule defer></script> <script src="/static/mybenefits/nbPreloginClientAppContent/main-es2015.js?ver=1557" type="module"></script> <script src="https://workplaceservices.fidelity.com/static/common/nb/js/gdpr-cookie-disclaimer.js?ver=1557" > </script> <script> $(document).ready(function() { ecsWidget(); var siteId = "worldwide"; if(siteId === 'worldwide') { checkAndDisplayGDPRCookieDisclaimer(true); } }); function ecsWidget () { if ($('#fs-steps').length) { $.getScript('https://login.fidelity.com/ftgw/pages/capability/widget/config/fs-widget.authunp.config.js',function() { }); } else { setTimeout(ecsWidget,50); } } var relativeDestinalUrlFromNavigationService = "%2Fmybenefits%2Fnavstation%2Fnavigation%3FAuthRedUrl%3Dhttps%3A%2F%2Fnetbenefitsww.fidelity.com%2Fmybenefitsww%2Fstockplans%2Fnavigation%2FPlanSummary"; var nbDomesticHost = "https://workplaceservices.fidelity.com"; var nbOUSHost = "https://netbenefitsww.fidelity.com"; </script> <script src="https://dmt.fidelity.com/nbprod/meas/"></script> <script> function getDeviceInfo() { return navigator.userAgent; } function getViewPortType() { if (screen.width < 760) { return "small"; } return "large"; } var deviceInfo = getDeviceInfo(); var viewPortType = getViewPortType(); var ensightenDataSurface = new Object(); ensightenDataSurface.page_version = "nb prelogin: v1.0-1708"; ensightenDataSurface.viewport_format = viewPortType; ensightenDataSurface.device_info = deviceInfo; window.ensightenDataSurface = ensightenDataSurface; /* Check for _trackAnalytics / if (typeof Bootstrapper !== "object" || typeof Bootstrapper._trackAnalytics !== "function") { var Bootstrapper = Bootstrapper || {}; Bootstrapper._trackAnalytics = function() { }; } </script> <script> window.measurementInfo = { "clientinitial" : "worldwide", "client" : "", "clientName" : "", "isTEM" : "false" }; var API_URL = "/public/nb/api/prelogin/v1/worldwide"; var DEFAULT_API_URL = "/public/nb/api/prelogin/v1/default"; </script> <script >bazadebezolkohpepadr="1978286142"</script><script type="text/javascript" src="https://nb.fidelity.com/akam/13/75ea40ff" defer></script>

<script defer src="https://assets.fidelity.com/virtual-assistant/runtime.ap119043-bundle.js"></script> <script defer src="https://assets.fidelity.com/virtual-assistant/polyfills.ap119043-bundle.js"></script> <script defer src="https://assets.fidelity.com/virtual-assistant/main.ap119043-bundle.js"></script> <script type="text/javascript" src="https://cfa.fidelity.com/fp/tags.js?org_id=5h8i3ud8&session_id=5752519186E96265F899C3B4836187BE"></script> <iframe style="width: 100px; height: 100px; border: 0; position: absolute; top: -5000px;" src="https://cfa.fidelity.com/fp/tags.js?org_id=5h8i3ud8&session_id=5752519186E96265F899C3B4836187BE"></iframe> <script type="text/javascript" src="/-PMtseOnyWrZR/Xau9ZZ3Np/bhAJM/Y11mb8NV7G/E1svAgoxHgE/XT/s7DykeA3kB"></script>
Sending: POST https://login.fidelity.com/ftgw/Fas/Fidelity/PWI/Login/Response/dj.chf.ra/
11:51:10 Received: { "status":{ "result": "continue", "toUrl": "https://login.fidelity.com/cas/login/IspCust?allowInteraction=false" } }
Sending: GET https://netbenefitsww.fidelity.com/mybenefitsww/stockplans/navigation/PlanSummary
Sending: GET https://nb.fidelity.com/public/nb/worldwide/home
Received: <title>Log In to Fidelity NetBenefits</title> <script src="https://workplaceservices.fidelity.com/static/common/nb/js/vendor/jquery-ui-validate-modernizer.min.js" ></script> <script src="https://workplaceservices.fidelity.com/static/common/nb/js/pl/advanced-link.js"> </script> <script src="/static/mybenefits/nbPreloginClientAppContent/runtime-es5.js?ver=13520" nomodule defer></script> <script src="/static/mybenefits/nbPreloginClientAppContent/runtime-es2015.js?ver=13520" type="module"></script> <script src="/static/mybenefits/nbPreloginClientAppContent/polyfills-es5.js?ver=13520" nomodule defer></script> <script src="/static/mybenefits/nbPreloginClientAppContent/polyfills-es2015.js?ver=13520" type="module"></script> <script src="/static/mybenefits/nbPreloginClientAppContent/scripts.js?ver=13520" defer></script> <script src="/static/mybenefits/nbPreloginClientAppContent/main-es5.js?ver=13520" nomodule defer></script> <script src="/static/mybenefits/nbPreloginClientAppContent/main-es2015.js?ver=13520" type="module"></script> <script src="https://workplaceservices.fidelity.com/static/common/nb/js/gdpr-cookie-disclaimer.js?ver=13520" > </script> <script> $(document).ready(function() { ecsWidget(); var siteId = "worldwide"; if(siteId === 'worldwide') { checkAndDisplayGDPRCookieDisclaimer(true); } }); function ecsWidget () { if ($('#fs-steps').length) { $.getScript('https://login.fidelity.com/ftgw/pages/capability/widget/config/fs-widget.authunp.config.js',function() { }); } else { setTimeout(ecsWidget,50); } } var relativeDestinalUrlFromNavigationService = "%2Fmybenefits%2Fnavstation%2Fnavigation"; var nbDomesticHost = "https://workplaceservices.fidelity.com"; var nbOUSHost = "https://netbenefitsww.fidelity.com"; </script> <script src="https://dmt.fidelity.com/nbprod/meas/"></script> <script> function getDeviceInfo() { return navigator.userAgent; } function getViewPortType() { if (screen.width < 760) { return "small"; } return "large"; } var deviceInfo = getDeviceInfo(); var viewPortType = getViewPortType(); var ensightenDataSurface = new Object(); ensightenDataSurface.page_version = "nb prelogin: v1.0-1708"; ensightenDataSurface.viewport_format = viewPortType; ensightenDataSurface.device_info = deviceInfo; window.ensightenDataSurface = ensightenDataSurface; /
Check for _trackAnalytics */ if (typeof Bootstrapper !== "object" || typeof Bootstrapper._trackAnalytics !== "function") { var Bootstrapper = Bootstrapper || {}; Bootstrapper._trackAnalytics = function() { }; } </script> <script> window.measurementInfo = { "clientinitial" : "worldwide", "client" : "", "clientName" : "", "isTEM" : "false" }; var API_URL = "/public/nb/api/prelogin/v1/worldwide"; var DEFAULT_API_URL = "/public/nb/api/prelogin/v1/default"; </script> <script >bazadebezolkohpepadr="1978286142"</script><script type="text/javascript" src="https://nb.fidelity.com/akam/13/75ea40ff" defer></script>
<script defer src="https://assets.fidelity.com/virtual-assistant/runtime.ap119043-bundle.js"></script> <script defer src="https://assets.fidelity.com/virtual-assistant/polyfills.ap119043-bundle.js"></script> <script defer src="https://assets.fidelity.com/virtual-assistant/main.ap119043-bundle.js"></script> <script type="text/javascript" src="https://cfa.fidelity.com/fp/tags.js?org_id=5h8i3ud8&session_id=C1534CFACA0BA9BEFBD1A1A08166B2F7"></script> <iframe style="width: 100px; height: 100px; border: 0; position: absolute; top: -5000px;" src="https://cfa.fidelity.com/fp/tags.js?org_id=5h8i3ud8&session_id=C1534CFACA0BA9BEFBD1A1A08166B2F7"></iframe>

<script type="text/javascript" src="/-PMtseOnyWrZR/Xau9ZZ3Np/bhAJM/Y11mb8NV7G/E1svAgoxHgE/XT/s7DykeA3kB"></script>
We could not find any Fidelity accounts. Make sure you have active positions in your account.

@renkrich renkrich changed the title Login screen changed We could not find any Fidelity accounts... Dec 23, 2022
@renkrich
Copy link
Author

The error message has changed in-between to
image

@lumaxis
Copy link
Owner

lumaxis commented Jan 27, 2023

Unfortunately, it looks like Fidelity changed how login works on the website. The process appears to now involve a JavaScript SDK to check for potential fraudulent activity and several other network requests.

I've tried to adjust this extension to the new login flow but haven't managed to get it working, yet. It might be that this new flow is just to complex to replicate for a web scraping extension 😕

If anyone else would like to try and take a stab at getting this fixed, I'd be happy to collaborate or take pull requests 🙏🏼

@renkrich
Copy link
Author

Have you had any success in updating the login process?

@lumaxis
Copy link
Owner

lumaxis commented May 24, 2023

Unfortunately not. The login process on the website appears to now use a bunch of Javascript-based fraud detection and such and has become more complex.
I'd be happy to accept contributions or help with further investigations 🙏🏼

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

2 participants