feat: WebClient 1.4.2

This commit is contained in:
lejianwen
2025-09-12 15:11:49 +08:00
parent 6e3b16d425
commit 929f6ddf20

View File

@@ -80,7 +80,8 @@ func (o *Oauth) OidcAuthQueryPre(c *gin.Context) (*model.User, *model.UserToken)
// 如果 UserId 为 0说明还在授权中 // 如果 UserId 为 0说明还在授权中
if v.UserId == 0 { if v.UserId == 0 {
c.JSON(http.StatusOK, gin.H{"message": "Authorization in progress, please login and bind"}) //fix: 1.4.2 webclient oidc
c.JSON(http.StatusOK, gin.H{"message": "Authorization in progress, please login and bind", "error": "No authed oidc is found"})
return nil, nil return nil, nil
} }