Google Sign in not working in Desktop App

When trying to logging into desktop app using google login, it raises the following error

Error: An unexpected error has occurred. Please close this window and try logging in again"

i just installed the app
and opened it
and the first thing that i am trying to do
is to sign in

it logins just fine in the browser (in the web app version of requestly)

Requestly - Lightweight Proxy to Intercept & Modify HTTP(s) requests
it opens this page

and then it says: “An unexpected error has occurred. Please close this window and try logging in again”

i’ve tried several times - no luck

seems like it’s a bug