From 63f764d1c56c5f66c15ef9cdf9139fabd4c3d8a4 Mon Sep 17 00:00:00 2001 From: djpbessems Date: Mon, 11 Mar 2024 14:32:17 +1100 Subject: [PATCH] fix: Add more debug logging --- pkg/spamasaurusrex/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/spamasaurusrex/main.go b/pkg/spamasaurusrex/main.go index 00ed903..ffbd82a 100644 --- a/pkg/spamasaurusrex/main.go +++ b/pkg/spamasaurusrex/main.go @@ -35,6 +35,7 @@ func rootHandler(w http.ResponseWriter, r *http.Request) { log.Println(spew.Sdump(token)) w.Write([]byte("Token retrieved from session")) } else { + log.Println(spew.Sdump(session)) url := config.AuthCodeURL("state", oauth2.AccessTypeOffline) http.Redirect(w, r, url, http.StatusFound) }