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

Exception: Cannot extract login CSRF token. #52

Closed
clemlatz opened this issue Feb 28, 2015 · 3 comments
Closed

Exception: Cannot extract login CSRF token. #52

clemlatz opened this issue Feb 28, 2015 · 3 comments

Comments

@clemlatz
Copy link

I think Dropbox may have changed the way they handle login. Since a few days, running phpunit tests returns this:

ESSSS.

Time: 1.81 seconds, Memory: 3.75Mb

There was 1 error:

1) DropboxIntegrationTest::testLogin
Exception: Cannot extract login CSRF token.

/Users/clement/Desktop/DropboxUploader/DropboxUploader.php:260
/Users/clement/Desktop/DropboxUploader/DropboxUploader.php:179
/Users/clement/Desktop/DropboxUploader/test/integration/DropboxIntegrationTest.php:39
phar:///usr/local/bin/phpunit/phpunit/TextUI/Command.php:186
phar:///usr/local/bin/phpunit/phpunit/TextUI/Command.php:138

FAILURES!
Tests: 3, Assertions: 10, Errors: 1, Skipped: 4.
@josemalonsom
Copy link

Same here.

They seem to have returned to the old format for sending the token used before e19ce1c. Created a PR with the fix hakre#3.

@dizda
Copy link

dizda commented Mar 1, 2015

👍

hakre added a commit to hakre/DropboxUploader that referenced this issue Mar 2, 2015
- Fix Dropbox changed login response. See jakajancar#52
- Minor CS fixes
@hakre hakre closed this as completed in 02d75ef Mar 2, 2015
@clemlatz
Copy link
Author

clemlatz commented Mar 3, 2015

👍

@hakre hakre mentioned this issue Mar 3, 2015
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

3 participants