hi,
i have tried to setup my own local drawio instance on my local server:
centos7
tomcat
nginx as reverseproxy and https
all runs fine except the onedrive, dropbox, github connection. I can't find any documentation how it works.
For example onedrive gives me a 400 error on:
https://drawio.my.domain/onedrive3.html?oauth={%22clientId%22:%2245c10911-200f-4e27-a666-9e9fca147395%22,%22endpoint%22:1,%22scopes%22:[%22Files.Read.All%22],%22origin%22:%22https://drawio.my.domain%22,%22redirectUri%22:%22https://drawio.my.domain/onedrive3.html%22,%22state%22:%22https://drawio.my.domain_DdnLM%22}
The tomcat access log shows:
127.0.0.1 - - [11/Aug/2017:16:51:22 +0200] "GET null null" 400 -
the nginx:
XXXX:XXXX:X::XX - - [11/Aug/2017:16:51:22 +0200] "GET /onedrive3.html?oauth={%22clientId%22:%2245c10911-200f-4e27-a666-9e9fca147395%22,%22endpoint%22:1,%22scopes%22:[%22Files.Read.All%22],%22origin%22:%22https://drawio.my.domain%22,%22redirectUri%22:%22https://drawio.my.domain/onedrive3.html%22,%22state%22:%22https://drawio.my.domain_DdnLM%22} HTTP/1.1" 400 5 "https://drawio.my.domain/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.78 Safari/537.36"
If I replace the {} with %7B and %7D I get an 200 with some kind of js code.
On https://draw.io I don't see this problems.
hi,
i have tried to setup my own local drawio instance on my local server:
centos7
tomcat
nginx as reverseproxy and https
all runs fine except the onedrive, dropbox, github connection. I can't find any documentation how it works.
For example onedrive gives me a 400 error on:
https://drawio.my.domain/onedrive3.html?oauth={%22clientId%22:%2245c10911-200f-4e27-a666-9e9fca147395%22,%22endpoint%22:1,%22scopes%22:[%22Files.Read.All%22],%22origin%22:%22https://drawio.my.domain%22,%22redirectUri%22:%22https://drawio.my.domain/onedrive3.html%22,%22state%22:%22https://drawio.my.domain_DdnLM%22}
The tomcat access log shows:
127.0.0.1 - - [11/Aug/2017:16:51:22 +0200] "GET null null" 400 -
the nginx:
XXXX:XXXX:X::XX - - [11/Aug/2017:16:51:22 +0200] "GET /onedrive3.html?oauth={%22clientId%22:%2245c10911-200f-4e27-a666-9e9fca147395%22,%22endpoint%22:1,%22scopes%22:[%22Files.Read.All%22],%22origin%22:%22https://drawio.my.domain%22,%22redirectUri%22:%22https://drawio.my.domain/onedrive3.html%22,%22state%22:%22https://drawio.my.domain_DdnLM%22} HTTP/1.1" 400 5 "https://drawio.my.domain/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.78 Safari/537.36"
If I replace the {} with %7B and %7D I get an 200 with some kind of js code.
On https://draw.io I don't see this problems.