Save oauth tokens to the database for use later.

This commit is contained in:
Eli Ribble 2025-11-06 00:23:58 +00:00
parent 8cd11b350d
commit 858bc031a0
No known key found for this signature in database
18 changed files with 1957 additions and 10 deletions

View file

@ -58,6 +58,8 @@ func main() {
r.Use(sessionManager.LoadAndSave)
r.Get("/", getRoot)
r.Get("/arcgis/oauth/begin", getArcgisOauthBegin)
r.Get("/arcgis/oauth/callback", getArcgisOauthCallback)
r.Get("/qr-code/report/{code}", getQRCodeReport)
r.Get("/report", getReport)
r.Get("/report/{code}", getReportDetail)