mirror of
https://github.com/dromara/RuoYi-Vue-Plus.git
synced 2026-08-11 05:41:02 +00:00
fix 修复 更换依赖将之前修复的代码覆盖了
This commit is contained in:
+2
-1
@@ -12,6 +12,7 @@ import me.zhyd.oauth.model.AuthCallback;
|
||||
import me.zhyd.oauth.model.AuthToken;
|
||||
import me.zhyd.oauth.model.AuthUser;
|
||||
import me.zhyd.oauth.utils.AuthScopeUtils;
|
||||
import me.zhyd.oauth.utils.GlobalAuthUtils;
|
||||
import me.zhyd.oauth.utils.HttpUtils;
|
||||
import me.zhyd.oauth.utils.UrlBuilder;
|
||||
|
||||
@@ -57,7 +58,7 @@ public class AuthDingTalkV2Request extends AuthDefaultRequest {
|
||||
.queryParam(Keys.OAUTH2_RESPONSE_TYPE, Keys.OAUTH2_CODE)
|
||||
.queryParam(Keys.OAUTH2_CLIENT_ID, config.getClientId())
|
||||
.queryParam(Keys.OAUTH2_SCOPE, this.getScopes(",", true, AuthScopeUtils.getDefaultScopes(AuthDingTalkScope.values())))
|
||||
.queryParam(Keys.OAUTH2_REDIRECT_URI, config.getRedirectUri())
|
||||
.queryParam(Keys.OAUTH2_REDIRECT_URI, GlobalAuthUtils.urlEncode(config.getRedirectUri()))
|
||||
.queryParam("prompt", "consent")
|
||||
.queryParam("org_type", config.getDingTalkOrgType())
|
||||
.queryParam("corpId", config.getDingTalkCorpId())
|
||||
|
||||
Reference in New Issue
Block a user