Fix openid

This commit is contained in:
Bolke de Bruin 2022-08-26 11:27:11 +02:00
parent f94e73b1ec
commit c76de478e2
2 changed files with 2 additions and 1 deletions

View file

@ -170,6 +170,7 @@ func main() {
} else {
// openid
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.Handle("/metrics", promhttp.Handler())

View file

@ -28,7 +28,7 @@ RUN git clone https://github.com/bolkedebruin/rdpgw.git /app && \
chmod u+s /opt/rdpgw/rdpgw-auth && \
chown -R 1001 /opt/rdpgw
FROM scratch
FROM busybox
# make tempdir in case filestore is used
ADD tmp.tar /