2 Commits

Author SHA1 Message Date
a553e9e93a Merge branch 'main' of https://code.spamasaurus.com/djpbessems/ContainerImage.SpamasaurusRex
All checks were successful
Container & Helm chart / Semantic Release (Dry-run) (push) Successful in 33s
Container & Helm chart / Helm chart (push) Successful in 26s
Container & Helm chart / Container image (push) Successful in 1m42s
Container & Helm chart / Semantic Release (push) Successful in 36s
2024-03-11 14:32:18 +11:00
63f764d1c5 fix: Add more debug logging 2024-03-11 14:32:17 +11:00

View File

@ -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)
}