mirror of
https://github.com/bolkedebruin/rdpgw.git
synced 2026-03-31 07:56:35 +00:00
Add tokeninfo endpoint
This commit is contained in:
1
main.go
1
main.go
@@ -130,6 +130,7 @@ func main() {
|
||||
http.Handle("/remoteDesktopGateway/", common.EnrichContext(http.HandlerFunc(gw.HandleGatewayProtocol)))
|
||||
http.Handle("/connect", common.EnrichContext(api.Authenticated(http.HandlerFunc(api.HandleDownload))))
|
||||
http.Handle("/metrics", promhttp.Handler())
|
||||
http.HandleFunc("/tokeninfo", api.TokenInfo)
|
||||
http.HandleFunc("/callback", api.HandleCallback)
|
||||
|
||||
err = server.ListenAndServeTLS("", "")
|
||||
|
||||
Reference in New Issue
Block a user