fix(auth,oidc): added GET method /auth/callback endpoint to fix OIDC 404 and update documentation accordingly

This commit is contained in:
yusing
2025-08-19 22:26:30 +08:00
parent a057f0e956
commit a5022e31a2
5 changed files with 226 additions and 4 deletions

View File

@@ -52,6 +52,7 @@ func NewHandler() *gin.Engine {
{
v1Auth.HEAD("/check", authApi.Check)
v1Auth.POST("/login", authApi.Login)
v1Auth.GET("/callback", authApi.Callback)
v1Auth.POST("/callback", authApi.Callback)
v1Auth.POST("/logout", authApi.Logout)
}