This commit is contained in:
Sakurasan
2023-04-12 22:38:03 +08:00
parent 9e8c94006d
commit 8ece9bdf37
2 changed files with 46 additions and 30 deletions

View File

@@ -55,7 +55,7 @@ func main() {
}))
router.GET("/", func(ctx *gin.Context) { ctx.Writer.WriteString("hello world") })
router.GET("/auth/github", githubLoginHandler)
router.GET("/auth/github/callback", githubCallbackHandler)
router.GET("/auth/signin/sso", githubCallbackHandler)
router.Run(":8000")
}