mirror of
https://github.com/pomerium/pomerium.git
synced 2025-07-31 23:41:09 +02:00
controlplane: add well-known endpoint to the controlplane http handler (#3555)
* controlplane: add well-known endpoint to the controlplane http handler * add support for trailing / * remove redundant test
This commit is contained in:
parent
dc122bcbc6
commit
6140ee1d88
5 changed files with 87 additions and 40 deletions
|
@ -284,7 +284,7 @@ func (srv *Server) EnableProxy(svc Service) error {
|
|||
|
||||
func (srv *Server) updateRouter(cfg *config.Config) error {
|
||||
httpRouter := mux.NewRouter()
|
||||
srv.addHTTPMiddleware(httpRouter)
|
||||
srv.addHTTPMiddleware(httpRouter, cfg)
|
||||
if srv.authenticateSvc != nil {
|
||||
authenticateURL, err := cfg.Options.GetInternalAuthenticateURL()
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue