From c1598c060fdaf89f8d776f1be8f245c8c650ebbf Mon Sep 17 00:00:00 2001 From: Stanislav Laznicka Date: Mon, 6 Nov 2023 11:03:41 +0100 Subject: [PATCH] TODOs: --- pkg/server/server.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/server/server.go b/pkg/server/server.go index 0ce3b8a5c9fb..f328a5ee6bdd 100644 --- a/pkg/server/server.go +++ b/pkg/server/server.go @@ -285,6 +285,7 @@ func (s *Server) HTTPHandler() http.Handler { handleFunc(authLogoutEndpoint, allowMethod(http.MethodPost, s.handleLogout)) handleFunc(AuthLoginCallbackEndpoint, s.Authenticator.CallbackFunc(fn)) handle(requestTokenEndpoint, authHandler(s.handleClusterTokenURL)) + // TODO: only add the following in case the auth type is openshift? handleFunc(deleteOpenshiftTokenEndpoint, allowMethod(http.MethodPost, authHandlerWithUser(s.handleOpenShiftTokenDeletion))) }