gauteh / lieer

Fast email-fetching, sending, and two-way tag synchronization between notmuch and GMail
http://lieer.gaute.vetsj.com
Other
553 stars 62 forks source link

Access blocked: Lieer’s request is invalid #249

Closed yeled closed 1 year ago

yeled commented 1 year ago

Is anyone else getting Error 400: invalid_request on new sync and init or auth?

gauteh commented 1 year ago

Is it the same with: https://github.com/gauteh/lieer/pull/242 ? Probably yes..

yeled commented 1 year ago

242 is a bit of a re-write. It's not a straight upgrade.

I have it working but it involved some hoops to jump through.

gongzhitaao commented 1 year ago

Update 2023/08/14: Working for me now.

I got the same error, but not sure if it is same as #242, the error details are:

Error 400: invalid_request

The out-of-band (OOB) flow has been blocked in order to keep users secure. Follow the Out-of-Band (OOB) flow migration guide linked in the developer docs below to migrate your app to an alternative method.

And the error points to this doc: https://developers.google.com/identity/protocols/oauth2/resources/oob-migration

isakrubin commented 1 year ago

any workarounds for this?

gauteh commented 1 year ago

Have you tried #242?

ahyatt commented 1 year ago

I've tried #242, and I'm still getting the same error with the OOB flow.

Correction: I realized I was on the wrong branch. Various other issues later (notably you have to auth on exactly the same machine, using the machine's browser), it does in fact work again!