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)