Addon
Addon copied to clipboard
Conflict with diagrams.net
We use diagrams.net at work, opening diagrams from google drive. The problem is that in order to open those diagrams, diagrams.net requires to authenticate with google. It's been years since I've had an issue with this auth process, always giving me an error message in firefox and I am required to have a chromium window open in order to work.
Today I've finally debugged the issue, first I realized that a clean firefox install didn't have this problem. So it was likely caused by a plugin. Then I started disabling plugins until it worked. clearURLS turned out to be the culprit. There's something about diagrams.net google oauth process that breaks when clearURLs is enabled.
From my attempts to research the issue, this URL is the one that breaks:
POST | https://accounts.google.com/signin/oauth/consent/approval?hl=en&_reqid=XXXX&rt=X
I've replaced some identfiers with X as I am not sure if they are sensitive data. When clearURLs is enabled, this request gives status 401, this is what causes the error.
When clearURLS is disabled, the popup window disappears to quickly, so I could not capture if there are more parameters sent to this URL, but it does give a success status code.
My workaround at the moment is to disable clearURLs before authenticating diagrams.net in google drive and enabling it back.