-
-
Notifications
You must be signed in to change notification settings - Fork 373
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't associate Draw.io with Gitlab (both self-hosted) #163
Comments
Which is bad request. How, precisely, is the requested formed? |
Sorry my miss, this is it. (values are fakes for the paste)
|
After clicking 'Authorize' in GitLab, the page redirects (302) to the draw.io URL, but the same error occurs. |
your PreConfig.js header is not right you could see some like: it's about CSP, you maybe use a wrong header. you could use my header, it's ok DRAWIO_CSP_HEADER=default-src 'self'; script-src 'self' https://code.jquery.com 'unsafe-inline'; connect-src 'self' http://MY_SERVER_URL; img-src * data:; media-src * data:; font-src * about:; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; frame-src 'self' http://MY_SERVER_URL; |
Hello,
I'm using the last version in date of Draw.io
v24.7.5
with Gitlab17.2.2-ce.0
from omnibus installer on Debian 12.I can't grant access to Draw.io in my Gitlab instance.
I have read the manual and set the values like
https://github.com/jgraph/docker-drawio/blob/dev/self-contained/README.md#gitlab
I replace the value
https://gitlab.com/oauth/token
without oauth/token because it redirect likeoauth/token/oauth/authentication
It's under a Nginx reverse-proxy, with CORS values like
Nginx reverse-proxy :
js/PreConfig.js file :
It give me an error
HTTP 400
when I try to grant access.The text was updated successfully, but these errors were encountered: