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

Feat/creds interception with events #48

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

KillianCourvoisier
Copy link
Contributor

@KillianCourvoisier KillianCourvoisier commented Jan 5, 2024

This PR redo the creds interception by using workerEvents instead of findAndSendCredentials method.
It also enhance the identity fetching by using the sessionStorage instead scraping, avoiding navigation making a quicker execution.

I also notice the autoLogin was not working anymore. The website added a check on the isTrusted property of the click event on the loginButton, so I replace the autoLogin with an autoFill function as it is done for other konnectors without autoLogin possibilities.
I tried de "iFrame trick" we use for Bouygues, but it is not possible here as the loginForm is not in the iFrame, so we need to load the formPage to get the iFram src but when reaching the captchaUrl, the needed token we can get is not the awaited one anymore, because we need to get back to the loginForm to be able to use it, and so on, it's a catch-22 situation.

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

Successfully merging this pull request may close these issues.

1 participant