Skip to content
Snippets Groups Projects
Commit c76de478 authored by Bolke de Bruin's avatar Bolke de Bruin
Browse files

Fix openid

parent f94e73b1
Branches
Tags
No related merge requests found
...@@ -170,6 +170,7 @@ func main() { ...@@ -170,6 +170,7 @@ func main() {
} else { } else {
// openid // openid
http.Handle("/connect", common.EnrichContext(api.Authenticated(http.HandlerFunc(api.HandleDownload)))) http.Handle("/connect", common.EnrichContext(api.Authenticated(http.HandlerFunc(api.HandleDownload))))
http.Handle("/remoteDesktopGateway/", common.EnrichContext(http.HandlerFunc(gw.HandleGatewayProtocol)))
http.HandleFunc("/callback", api.HandleCallback) http.HandleFunc("/callback", api.HandleCallback)
} }
http.Handle("/metrics", promhttp.Handler()) http.Handle("/metrics", promhttp.Handler())
......
...@@ -28,7 +28,7 @@ RUN git clone https://github.com/bolkedebruin/rdpgw.git /app && \ ...@@ -28,7 +28,7 @@ RUN git clone https://github.com/bolkedebruin/rdpgw.git /app && \
chmod u+s /opt/rdpgw/rdpgw-auth && \ chmod u+s /opt/rdpgw/rdpgw-auth && \
chown -R 1001 /opt/rdpgw chown -R 1001 /opt/rdpgw
FROM scratch FROM busybox
# make tempdir in case filestore is used # make tempdir in case filestore is used
ADD tmp.tar / ADD tmp.tar /
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment