jgraph / docker-drawio

Dockerized draw.io based on whichever is the most secure image at the time.
GNU General Public License v3.0
1.56k stars 364 forks source link

Patch doesn't work - Support for Gitlab server flow auth #41

Closed maleksan closed 3 years ago

maleksan commented 3 years ago

All the details here in pull request: https://github.com/jgraph/docker-drawio/pull/40

SDAdham commented 3 years ago

Hi @maleksan , I can't sign in with gitlab, it takes me to /gitlab instead of /gitlab.html which is HTTP ERROR 400, but if I change the url manually to /gitlab.html, it just says This window will be closed automatically but nothing happens. I don't know which version can I use, I used: jgraph/drawio then I switched to jgraph/drawio:14.6.13-alpine but still no luck, can you please advise?

SDAdham commented 3 years ago

After adding secret, I just get access denied, From the pod logs:

SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details
20-Aug-2021 13:53:28.635 INFO [http-nio-8080-exec-1] com.mxgraph.online.AbsAuthServlet.doGet AUTH-SERVLET: [10.2.8.0] Added state (xxx-> xxx)
20-Aug-2021 13:53:30.189 INFO [http-nio-8080-exec-2] com.mxgraph.online.AbsAuthServlet.doGet AUTH-SERVLET: [10.2.8.0] Found cookie state (xxxx-> xxxx)
20-Aug-2021 13:55:30.304 INFO [http-nio-8080-exec-8] com.mxgraph.online.AbsAuthServlet.doGet AUTH-SERVLET: [10.2.8.0] Added state (xxx-> xxxx)
20-Aug-2021 13:55:30.330 INFO [http-nio-8080-exec-9] com.mxgraph.online.AbsAuthServlet.doGet AUTH-SERVLET: [10.2.8.0] Found cookie state (xxx-> xxx)
20-Aug-2021 13:56:24.079 INFO [http-nio-8080-exec-1] com.mxgraph.online.AbsAuthServlet.doGet AUTH-SERVLET: [10.2.8.0] Added state (xxx-> xxx)
20-Aug-2021 13:56:25.837 INFO [http-nio-8080-exec-2] com.mxgraph.online.AbsAuthServlet.doGet AUTH-SERVLET: [10.2.8.0] Found cookie state (xxx-> xxx)