JackieZheng / WeReadForVSCode

WeReadForVSCode
4 stars 0 forks source link

微信读书无法登录的问题 #1

Open Adiwon opened 2 years ago

Adiwon commented 2 years ago

VS Code版本:1.66.1 插件版本:v0.1.0

具体表现为,在VS Code内打开微信读书页面后,点击登录,出现二维码,手机扫码验证后页面上二维码消失,然后页面似乎会刷新一下,但微信读书依旧是未登录状态。

可以抽空检查一下这个问题吗?

adogie commented 2 years ago

https://stackoverflow.com/questions/67821709/this-set-cookie-didnt-specify-a-samesite-attribute-and-was-default-to-samesi 貌似只能降低浏览器版本了,没什么好办法了。

LstHeart commented 2 years ago

vscode版本更新到1.66+之后,chromium内核就更新到98了,iframe 无法跨站传递cookie; 目前的解决方案:

  1. 回退vscode版本到1.65
  2. nginx反向代理 https://weread.qq.com,调整插件源码里面的iframe src地址
  3. 直接使用浏览器访问微信读书😂
Malibu351 commented 1 year ago

请问可以详细说明一下2的方法吗