Configure Google Drive App

26 views
Skip to first unread message

Juraj Benadik

unread,
May 23, 2020, 3:19:26 PM5/23/20
to diagrams.net Q&A
Hi

I just tried to authorize Google drive on custome domain and got:

Error 400: redirect_uri_mismatch

Do I need to configure redirect_uri as well ???

Right now I have:

window.DRAWIO_GOOGLE_APP_ID = '852773868663';
window.DRAWIO_GOOGLE_CLIENT_ID = '852773868663-vtn20nfkrsopt8a93s6jb5fqsup0gpg1.apps.googleusercontent.com';

But I am not sure about APP_ID, cause I dotn know which info grom ggole I should put there. I just used numerical part of ClientID as draw.io is using

David Benson [diagrams.net]

unread,
May 26, 2020, 7:35:55 AM5/26/20
to diagrams.net Q&A
Have you added your domain as the redirect domain the Google Cloud Project console?

Juraj Benadik

unread,
May 27, 2020, 5:13:08 PM5/27/20
to diagrams.net Q&A
I added https://mysite.com/google as suggested by error dialog.
I was able to get to authorization and all went well up until the moment gogole posted back to https://mysite.com/google, which does not exist.
What should be happening there? Do I need to implement backend to do anything, or just return some HTTP OK response ?

David Benson [diagrams.net]

unread,
Jul 30, 2020, 12:50:27 PM7/30/20
to diagrams.net Q&A
What version of the source are you using?

Juraj Benadik

unread,
Jul 30, 2020, 5:49:59 PM7/30/20
to diagrams.net Q&A
I used version, that was current at that time, no older than 2-3 weeks.
But  I can recheck it with latest.

On Saturday, May 23, 2020 at 2:19:26 PM UTC-5, Juraj Benadik wrote:
Reply all
Reply to author
Forward
0 new messages