From 398bca4e4e234e4d1f510f91dde5c68354bf5de6 Mon Sep 17 00:00:00 2001 From: arthurarabelo Date: Wed, 16 Sep 2026 15:56:40 +0200 Subject: [PATCH] feat: make otg endpoint public With the protected endpoint is not possible to reuse the otg component defined in web-extensions to display an outage message when the user can not log in to cernbox (e.g. accessDenied page). --- otg/otg.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/otg/otg.go b/otg/otg.go index 188ab5d..c6cc37a 100644 --- a/otg/otg.go +++ b/otg/otg.go @@ -72,7 +72,7 @@ func (s *Otg) Prefix() string { } func (s *Otg) Unprotected() []string { - return nil + return []string{"/"} } func (s *Otg) Handler() http.Handler {