Skip to content

Viewer prompts for authorization using a diagram published using a public Google Drive URL #203

@faelnor

Description

@faelnor

I have set up DRAWIO_LIGHTBOX_URL and DRAWIO_BASE_URL on two different subdomains pointing to the same docker container, and a public Google Document that I would like to view in my self-hosted instance.

I have set up configuration variables for the Drive Client and App IDs for the main app as well as separate ones for the viewer app.

Version is 29.6.10 pulled from jgraph/drawio:latest on 2026-04-14.

If I Publish the diagram, I get the following URL which looks correct: https://<my-instance>/?lightbox=1&highlight=0000ff&nav=1&title=Sharetest.drawio&dark=auto#Uhttps%3A%2F%2Fdrive.google.com%2Fuc%3Fid%3D13Ez_tFVogQLR91fHWeaOjO298fTMKY1Z%26export%3Ddownload

However, whenever I try to view the file I get a prompt for Google Drive authorization. If I try to open exactly the same URL in viewer.diagrams.net (link), the file opens successfully. What am I missing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions