tw93 / Pake

🤱🏻 Turn any webpage into a desktop app with Rust. 🤱🏻 利用 Rust 轻松构建轻量级多端桌面应用
MIT License
29.17k stars 5.05k forks source link

[Bug] Cannot log in Omnivore via Google OAuth #663

Closed hcoona closed 7 months ago

hcoona commented 7 months ago

Search before asking

Pake version

2.3.6

System version

Windows 11 23H2 22631.31655

Node.js version

v20.9.0

Minimal reproduce step

  1. pake https://omnivore.app --name Omnivore --icon https://omnivore.app/static/icons/favicon.ico
  2. start Omnivore.msi
  3. Run Omnivore
  4. Login with Google account

What did you expect to see?

Successfully login with Google account.

What did you see instead?

Both the main window and popup window go to Google and require for login. I cannot login in the main window because it was regarded as non-safe browser. I can login in the popup window but it cannot make the main window redirect to omnivore app.

Close and launch the Omnivore app, the login button can recognize my previous login. However, click the button would make the main window go to blank while the popup window can successfully login with the previous session, however, it cannot make the main window redirect to correct page.

Anything else?

No response

Are you willing to submit a PR?

tw93 commented 7 months ago

Thank you for the feedback, there is indeed an issue here, I have also reproduced it. This is somewhat related to the implementation of Omnivore's own login. I am looking for some solutions to see if we can work around it. Currently, there is no good solution available. Welcome to debug Pake locally and see if there is a way to solve it.