feat(auth): add GET endpoint for logout and update documentation

This commit is contained in:
yusing
2025-09-14 13:07:24 +08:00
parent 93e1d17090
commit 2a08c55e39
4 changed files with 35 additions and 0 deletions

View File

@@ -56,6 +56,7 @@ func NewHandler() *gin.Engine {
v1Auth.GET("/callback", authApi.Callback)
v1Auth.POST("/callback", authApi.Callback)
v1Auth.POST("/logout", authApi.Logout)
v1Auth.GET("/logout", authApi.Logout)
}
}