From 929f6ddf20d114afda96736b5b150a6645393f85 Mon Sep 17 00:00:00 2001 From: lejianwen <84855512@qq.com> Date: Fri, 12 Sep 2025 15:11:49 +0800 Subject: [PATCH] feat: WebClient 1.4.2 --- http/controller/api/ouath.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/http/controller/api/ouath.go b/http/controller/api/ouath.go index 7a61d81..0e1ee08 100644 --- a/http/controller/api/ouath.go +++ b/http/controller/api/ouath.go @@ -80,7 +80,8 @@ func (o *Oauth) OidcAuthQueryPre(c *gin.Context) (*model.User, *model.UserToken) // 如果 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 }