-
-
Notifications
You must be signed in to change notification settings - Fork 35
Refactor web authentication #223
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
Conversation
krzysdabro
commented
Dec 15, 2024
- Replace regex with HTML parsers
- Move doWebAuth to VWWebSession
- Split doWebAuth into multiple methods
- Add Terms and Conditions form handling
|
Thank you for your contribution. This looks great! I have one thing where I'm unsure. I was also thinking in the past of automatically accepting terms and conditions and decided not to do it and ask the user to do it himself. The reason is that the user otherwise accepts something he will definitely not have looked at. While we all know that anyway no one will read the terms I'm fearing that just automatically accepting Terms and Conditions could be a reason for VW to be upset and to lock us out of the API. |
|
I checked out the branch, but I get this error right away: |
- Replace regex with HTML parsers - Move doWebAuth to VWWebSession - Split doWebAuth into multiple methods - Add Terms and Conditions form handling
7ca26cc to
027ff12
Compare
|
It looks like double slash in URL is a no-go. I've updated the solution to use In my case, handling the terms is necessary because VW somehow can't save that I have accepted them and prompts me every time I log in through the library. |
027ff12 to
fb1fe61
Compare
Also if you comment out this: |
This error is gone now for me. |
I didn't help, I am instantly redirected to the I have already rebased the branch and this conditional is gone. |