Notsfsssf / pixez-flutter

一个支持免代理直连及查看动图的第三方Pixiv flutter客户端
GNU General Public License v3.0
7.68k stars 305 forks source link

Can't login on Windows app #564

Open Holence opened 1 year ago

Holence commented 1 year ago

用源码编译的Windows app登录时会打开浏览器登录,返回的URL是

https://accounts.pixiv.net/post-redirect?return_to=https://app-api.pixiv.net/web/v1/users/auth/pixiv/start?code_challenge=XXX&code_challenge_method=S256&client=pixiv-android&via=login

浏览器无法返回参数给app

frg2089 commented 1 year ago

如果不使用msix的话你需要自行注册pixiv这个协议

https://github.com/Notsfsssf/pixez-flutter/blob/fb6b5ff712ccfd8b6aaf5e2d59f87c103bdf7750/pubspec.yaml#L136-L152