Rules icon indicating copy to clipboard operation
Rules copied to clipboard

HTTP/2 401 at Google auth confirmation due to ZX rule

Open boozelo opened this issue 3 years ago • 4 comments

Env: Linux, FF dev 107.0b1, ClearURLs 1.25.0 Steps to reproduce:

  1. Set non-english locale! - with English(US) everything goes fine
  2. Go to https://workspace.google.com/marketplace and try to install any app.
  3. Get error XHR POST https://accounts.google.com/signin/oauth/consent/approval?hl=ru&_reqid=30157&rt=j [HTTP/2 401 Unauthorized 71ms] in logs and "Подтверждение не отправлено, попробуйте еще раз"

ClearURL log: https://signaler-pa.clients6.google.com/punctual/multi-watch/channel?VER=8&gsessionid=XXXXX&key=XXXXXXXX&RID=rpc&SID=XXXXXXXXX&CI=0&AID=76&TYPE=xmlhttp&zx=isc9oXXwevf0&t=1 -- ZX rule applied ( ||google.*^$removeparam=zx ) https://lh3.googleusercontent.com/XXXX_XXXXX -- ETag header removed turning ETag clearing off has no effect

boozelo avatar Oct 19 '22 05:10 boozelo

I also have this issue when connecting an external app to Google Drive. https://xmind.works/ for example.

I'm using English (UK).

vietthedev avatar May 01 '23 11:05 vietthedev

Maybe I'm an idiot, but I don't see a xz rule anywhere in the ClearURLs rules? Can you post the log from ClearURLs?

iam-py-test avatar May 01 '23 11:05 iam-py-test

Oh I just checked again, no zx parameter for me. No idea why the logging could not capture anything but here is the problematic request URL before and after disabling ClearURLs:

https://accounts.google.com/signin/oauth/consent/approval?hl=en-GB&_reqid=66960&rt=j

https://accounts.google.com/signin/oauth/consent/approval?authuser=0&as=S-100475212%3A1682940954195343&hl=en-GB&_reqid=66960&rt=j

vietthedev avatar May 01 '23 11:05 vietthedev

Weird. Hopefully the developer will be able to figure out what's going on

iam-py-test avatar May 01 '23 12:05 iam-py-test