Browse Source

feat: WebClient 1.4.2

lejianwen 4 months ago
parent
commit
929f6ddf20
1 changed files with 2 additions and 1 deletions
  1. 2 1
      http/controller/api/ouath.go

+ 2 - 1
http/controller/api/ouath.go

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