jgraph / jgraph/drawio

"This app is blocked" when creating a new diagram in a Google Doc

Open
#5,559 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug needs-info possible-duplicate
Dominant language
JavaScript
Stars
8.2k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

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

You must search the issue tracker and agree to 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 report 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
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Add the extension to Google Drive / Google Docs. Grant all requested permissions.
  2. Create or open a Google Doc
  3. In the toolbar, select Extensions > draw.io > New Diagram...
  4. A dialog saying "Authorization required" opens. Click "OK".
  5. A window saying "This app is blocked" and "This app tried to access sensitive info in your Google Account. To keep your account safe, Google blocked this access." appears.

Expected behavior
I would expect to be able to use the features of the extension and create a new diagram embedded within a Google Doc file.

Screenshots

Step 3:

Image

Step 4:

Image

Step 5:

Image

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

  • yes

Additional context
I am able to create a new drawing from outside a document and then embed that drawing in a document, but that's an awkward workflow.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the Google Docs extension entry point: Extensions > draw.io > New Diagram..., and trace the authorization flow that opens after selecting it. Compare the flow with creating a drawing outside a document, then verify the Google authorization configuration and permissions. Done means a new diagram can be created and embedded in a Google Doc without the “This app is blocked” error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.