Skip to content

Commit d792492

Browse files
committed
TODO: don't add token-delete endpoint on non-integrated auth?
1 parent 09fe49a commit d792492

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pkg/server/server.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,7 @@ func (s *Server) HTTPHandler() http.Handler {
285285
handleFunc(authLogoutEndpoint, allowMethod(http.MethodPost, s.handleLogout))
286286
handleFunc(AuthLoginCallbackEndpoint, s.Authenticator.CallbackFunc(fn))
287287
handle(requestTokenEndpoint, authHandler(s.handleClusterTokenURL))
288+
// TODO: only add the following in case the auth type is openshift?
288289
handleFunc(deleteOpenshiftTokenEndpoint, allowMethod(http.MethodPost, authHandlerWithUser(s.handleOpenShiftTokenDeletion)))
289290
}
290291

0 commit comments

Comments
 (0)