Save oauth tokens to the database for use later.
This commit is contained in:
parent
8cd11b350d
commit
858bc031a0
18 changed files with 1957 additions and 10 deletions
2
main.go
2
main.go
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue