diff --git a/session/handler.go b/session/handler.go index 4406451a54f2..e5f8b4b56e34 100644 --- a/session/handler.go +++ b/session/handler.go @@ -50,6 +50,7 @@ const ( func (h *Handler) RegisterPublicRoutes(public *x.RouterPublic) { h.r.CSRFHandler().ExemptPath(RouteWhoami) + h.r.CSRFHandler().ExemptPath(RouteRevoke) for _, m := range []string{http.MethodGet, http.MethodHead, http.MethodPost, http.MethodPut, http.MethodPatch, http.MethodDelete, http.MethodConnect, http.MethodOptions, http.MethodTrace} {