mirror of
https://github.com/bolkedebruin/rdpgw.git
synced 2025-08-15 21:33:45 +02:00
Fix openid
This commit is contained in:
parent
f94e73b1ec
commit
c76de478e2
2 changed files with 2 additions and 1 deletions
|
@ -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 /
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue