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

Hidden Password Input #6

Open
TurekBot opened this issue Oct 25, 2017 · 6 comments
Open

Hidden Password Input #6

TurekBot opened this issue Oct 25, 2017 · 6 comments

Comments

@TurekBot
Copy link

When trying to log in, I'm getting a

Caused by: java.io.IOException: Missing gvx cookie.
	at com.brewengine.gv4j.GV.login(GV.java:118)
	at com.brewengine.gv4j.GV.login(GV.java:80)

Taking a quick peek at the source code, they seem (as you've advertised up front) to have changed things just a bit.

It seems like the code is no longer picking up the password input. It's looking for an input with the name of Passwd, but there is none. Hopefully you'll forgive the screenshot for the fact that I highlighted the important part.
Changed field

Is this a deal-breaker because it's hidden or can this be fixed?

@TurekBot
Copy link
Author

Is this StackOverflow Question helpful?

Do we need to get it to wait?

@twyatt
Copy link
Owner

twyatt commented Oct 25, 2017

Based on the Stackoverflow post you linked, it sounds as though the page is relying on Javascript to update the input field?

Perhaps try to login to Google Voice on a browser that has Javascript disabled to confirm that it is still possible? If Google Voice has changed and now requires Javascript, then it would likely require significant changes to GV4J to get it working again (as GV4J performs HTTPS requests and has no Javascript support).

If you can login to Google Voice with Javascript disabled then the fixes to GV4J likely entail changing the names of input fields that are referenced.

Let me know what you find (if you can log in w/o Javascript) and I'll try to help the best I can.

@TurekBot
Copy link
Author

I'm a newb when it comes to the web, but it looks like adding &nojavascript=1 to the URL gives us a non-javascript login:

No Javascript Login

@twyatt
Copy link
Owner

twyatt commented Oct 27, 2017

@TurekBot any chance you can test if you can login to Google Voice with Javascript disabled?

Disable Javascript (Chrome)

js

@TurekBot
Copy link
Author

TurekBot commented Aug 4, 2018

With javascript disabled, it appears that you can log in, but you'll just get a forever spinning spinner and google voice will never load.

image

@twyatt
Copy link
Owner

twyatt commented Aug 8, 2018

Unfortunately gv4j sees what you see with the browser when JavaScript in disabled (albeit the mobile version of the site) so it is likely that Google has changed things enough that gv4j no longer works.

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