Google drive authorization doesn't work with draw.io

:writing_hand: Brief description of the issue
If I try to authorize with Google in draw io, I always get an error message. Draw io itself works, I draw, but as soon as I try to save to Google drive, I get this error.

It works propery if I use from a regular browser.

Reproduction

  • Open draw io instance.
  • Select Google drive.
  • Click on Authorize.
  • A new window opens.
  • Select the appropriate account (the first one in my case).
  • The new windows closes.

Expected

  • Draw.io can access my Google drive.

Actual

  • An error dialog.

:warning: Mandatory details

  • Trigger – Try to authorize with Google.

  • Issue – Authorization doesn’t work.

  • Explanatory gifs/pictures — See below

  • OS version – Ubuntu 18.10

  • :gear: Station version

    • Station version 1.35.0
    • Electron 3.0.5
    • Chrome 66.0.3359.181
    • Node 10.2.0
    • v8 6.6.346.32
    • @getstation/services0.24.10

Screenshots of the steps:

2 4