From 9278ddf02923dc69cd8b178e007f0c1bfcd9f0ad Mon Sep 17 00:00:00 2001 From: Derek Wright Date: Thu, 18 Dec 2025 14:06:07 -0500 Subject: [PATCH] fix auth stuff --- auth/auth0/auth0.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/auth/auth0/auth0.go b/auth/auth0/auth0.go index dd0aba7..b607e71 100644 --- a/auth/auth0/auth0.go +++ b/auth/auth0/auth0.go @@ -2,6 +2,7 @@ package auth0 import ( "context" + "encoding/gob" "fmt" "net/http" "net/url" @@ -11,6 +12,10 @@ import ( "git.citc.tech/go/web/auth/auth0/authenticator" ) +func init() { + gob.Register(SessionUser{}) +} + type Logger interface { Debug(msg string, args ...any) Info(msg string, args ...any)