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

App not sending X-Client-Hash X-Client-Time #371

Open
austinhuang0131 opened this issue May 3, 2020 · 2 comments
Open

App not sending X-Client-Hash X-Client-Time #371

austinhuang0131 opened this issue May 3, 2020 · 2 comments

Comments

@austinhuang0131
Copy link
Contributor

austinhuang0131 commented May 3, 2020

Yes, you may reply in Japanese, I can read.

  • module name: pixivdeck
  • module version: seems to be running in 1.5.0 but about page still says 1.4.0
  • node version: v10.16.1
  • yarn version: n/a

Note: I'm using Mojave

Do you want to request a feature or report a bug?: bug

What is the current behavior?: pixivdeck is not sending X-Client-Hash and X-Client-Time headers despite being present in code, which, obviously, cause pixiv to return access_denied, login fails.

Screen Shot 2020-05-02 at 22 12 36

What is the expected behavior?: success login

What is the suggested solution?: Since pixiv-app-api seems to be working correctly, I'd assume there's some sort of conflict when axios is used with electron???

cc @noriokun4649

@noriokun4649
Copy link

返信遅れて申し訳ないです
私の環境だとElectronがビルドできなかったため、
l8doku/PixivDeckをビルドして試してみましたが、問題なくログインできました。

@austinhuang0131
Copy link
Contributor Author

@noriokun4649 Pixiv removed password as a grant_type (see upbit/pixivpy#158) so yeah it 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