X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/f3c89480b1f09c30708150f0733b2d430f4221da..c44aa637f62f4f0943172ccdcc3e3031c5b838c0:/lib/controller/handler.go diff --git a/lib/controller/handler.go b/lib/controller/handler.go index 935a1b6cb6..01f2161632 100644 --- a/lib/controller/handler.go +++ b/lib/controller/handler.go @@ -67,6 +67,10 @@ func (h *Handler) CheckHealth() error { return err } +func (h *Handler) Done() <-chan struct{} { + return nil +} + func neverRedirect(*http.Request, []*http.Request) error { return http.ErrUseLastResponse } func (h *Handler) setup() { @@ -79,6 +83,7 @@ func (h *Handler) setup() { rtr := router.New(federation.New(h.Cluster)) mux.Handle("/arvados/v1/config", rtr) + mux.Handle("/"+arvados.EndpointUserAuthenticate.Path, rtr) if !h.Cluster.ForceLegacyAPI14 { mux.Handle("/arvados/v1/collections", rtr) @@ -86,6 +91,7 @@ func (h *Handler) setup() { mux.Handle("/arvados/v1/users", rtr) mux.Handle("/arvados/v1/users/", rtr) mux.Handle("/login", rtr) + mux.Handle("/logout", rtr) } hs := http.NotFoundHandler()