From e318f1fd58ce7d9e7b839edc4e907ff5b343f7ac 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 +- resources/web2/index.html | 23 +- resources/web2/js/dist/index.js | 5825 +- resources/web2/js/dist/lang.js | 5862 +- resources/web2/main.dart.js | 188657 +++++++++++++++-------------- 5 files changed, 104067 insertions(+), 96303 deletions(-) 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 } diff --git a/resources/web2/index.html b/resources/web2/index.html index a4678b3..daacf5e 100644 --- a/resources/web2/index.html +++ b/resources/web2/index.html @@ -32,7 +32,7 @@ RustDesk - +