I have found this thread (this comment sumarizes it) explaining how to use draw.io together with a private gitlab by authorizing the application. In my company