drawio icon indicating copy to clipboard operation
drawio copied to clipboard

"This app is blocked" error

Open captcarl13 opened this issue 2 years ago • 14 comments

Preflight Checklist

  • [x] I agree to follow the Code of Conduct that this project adheres to.
  • [x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

You must agree to search and the code of conduct. You must fill in this entire template. If you delete part/all or miss parts out your issue will be closed.

If you are technical, you should reporting bugs along the lines of https://marker.io/blog/how-to-write-bug-report. If you are not technical, we will make allowances, please try to make an effort to understand the process.

Describe the bug When trying to install the Draw.io Diagrams for Docs add-on, Google reports the app is blocked. This occurs in two different web browsers with two different accounts.

To Reproduce Steps to reproduce the behavior:

  1. From Google Docs, click Extensions > Add Ons > Get Add Ons
  2. Search for draw.io
  3. Click Install, then Continue
  4. Select Google account to use with Draw.io Diagrams for Docs
  5. Receive error This app is blocked This app tried to access sensitive info in your Google Account. To keep your account safe, Google blocked this access.

Expected behavior Add-on should authorize successfully and appear in the Add-ons menu in Google Docs.

Screenshots image

draw.io version (In the Help->About menu of the draw.io editor):

  • draw.io version 24.7.6

Desktop (please complete the following information):

  • OS: Windows 11 Pro 23H2
  • Browser: Microsoft Edge / Mozilla Firefox
  • Browser Version 127.0.2651.86 / 129.0

I tested the problem in incognito/private mode with all browser extensions switched off, write "yes" below:

  • yes

Additional context As stated above, this error also occurs in Firefox using a completely different Google account. Other add-ons have been installed in Docs with no problem. Originally thought this was a permission setting at my org but when I tried with my personal Google account in a different web browser I have received the same error. All ad blockers were disabled when testing.

captcarl13 avatar Aug 07 '24 14:08 captcarl13

Probably a repeat of https://github.com/jgraph/drawio/issues/4212. But, it's August, I'm on holiday, sorry :).

davidjgraph avatar Aug 07 '24 18:08 davidjgraph

I've been able to replicate this,

os windows 10 Version 22H2 2024-KB5042352 Browser Mozilla FireFox browser version 129.0.1

I tested the problem in incognito/private mode with all browser extensions switched off, write "yes" below:

yes

please keep me posted

kurti256 avatar Aug 23 '24 23:08 kurti256

Hi, I am also facing the same issue for google slides.

akhilplw avatar Sep 03 '24 14:09 akhilplw

It doesn't look like there's anything we can do about this. Google have rejected the scopes and aren't allowing them back in.

davidjgraph avatar Sep 03 '24 15:09 davidjgraph

Hi @davidjgraph , When trying to add a [draw.io]diagram into a slide within Google Slides via the designated [draw.io] addon for Google Slides, I'm being asked to "grant permissions" to the add-on. When clicking on "Ok", I'm requested to choose a Google account, I then click my email account (. After which the window says "This app is blocked"). I tried everything I could from Google support and they had no solution Is this option not possible? image I hope you answer me.

talkazaz avatar Dec 16 '24 09:12 talkazaz

Just happened for me. Thought it may have something to do with free/personal Gmail users vs paid workspaces, but tried on both and got the same :-(

Image

Image

ptorrsmith avatar Apr 17 '25 05:04 ptorrsmith

I got the same and on doing a bit of digging I found this, which hopefully offfers some insight into what Google have done and how apps need to change to abide by their new rules](https://workspaceupdates.googleblog.com/2023/09/winding-down-google-sync-and-less-secure-apps-support.html)

Their advice is to use Sign in with Google, described here

I hope this helps. I would really like to be able to use draw.io inside Google Docs.

Thanks.

gchoules avatar May 06 '25 21:05 gchoules

This is a scopes issue, not a signing in problem. Google allowed read-only drive for many years, then changed their decision. They just don't want to allow it any longer. There is no solution to fix the addon as it's currently architected.

We built a new addon last year, but when we enabled it, it took out one of their DB clusters, because we have so many users, so they disabled it and told us not to use it.

That's it, out of options.

davidjgraph avatar May 07 '25 06:05 davidjgraph

I'm sorry about the outcome but if it's insoluable I would request, as others have done, that the non-working (blocked) addon be removed from the marketplace and the documentation page be removed, so people don't go down rabbit holes. @davidjgraph would you like me to open a new ticket for this?

arobertn avatar May 23 '25 14:05 arobertn

No, because that uninstalls it for everyone.

davidjgraph avatar May 23 '25 14:05 davidjgraph

At least, a warning should be put in the documentation that this is no longer working for new user. I made the error to remove the extension (that was working fine) and tried to reinstalling it and got it by the new security policy. For example here: https://www.drawio.com/integrations

onio-git avatar Jun 16 '25 08:06 onio-git

I'll be poking around at Google to see if we can get this fixed.

dstephan1 avatar Aug 13 '25 18:08 dstephan1

Any new progress?

HEYRIX avatar Oct 24 '25 06:10 HEYRIX

Fixed.

davidjgraph avatar Sep 30 '26 18:09 davidjgraph