mirror of
https://github.com/bolkedebruin/rdpgw.git
synced 2026-03-29 15:06:36 +00:00
Fix openid
This commit is contained in:
@@ -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 && \
|
|||||||
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 /
|
||||||
|
|||||||
Reference in New Issue
Block a user